Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Unknown
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 0.10.10
-
Component/s: Chef Shell
-
Labels:None
Description
When you run a `shef --client` command on a node which has no `node.fqdn`, the session fails with: "ArgumentError: Attribute fqdn is not defined", because the relevant code in the "greting" method rescues NameError only.
This pull request on Github contains the necessary fix:
Should shef require ohai data when not running in client mode? Maybe not. Daniel DeLeo would have a good idea. CHEF-1645 is relevant.