diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-09-20 13:06:49 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-09-20 13:06:49 -0700 |
commit | e30aa05ac624d812645fceaf00fa7ec3b2176ef8 (patch) | |
tree | 5c4db9f3a47c0d35f34b09a07f836a4c73ff093b /lib/chef/knife/core | |
parent | 057c450f4aa02e7f97a9cce6d506899a190509c1 (diff) | |
download | chef-e30aa05ac624d812645fceaf00fa7ec3b2176ef8.tar.gz |
add another spec for chef_environment
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/knife/core')
-rw-r--r-- | lib/chef/knife/core/generic_presenter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/core/generic_presenter.rb b/lib/chef/knife/core/generic_presenter.rb index 323c2cf350..3f5c0712d0 100644 --- a/lib/chef/knife/core/generic_presenter.rb +++ b/lib/chef/knife/core/generic_presenter.rb @@ -187,7 +187,7 @@ class Chef nil end end - # necessary for coercing hashable non-attribute objects hanging off the node into real hashes + # necessary (?) for coercing objects (the run_list object?) to hashes ( !data.kind_of?(Array) && data.respond_to?(:to_hash) ) ? data.to_hash : data end |