summaryrefslogtreecommitdiff
path: root/lib/chef/node.rb
diff options
context:
space:
mode:
authorcmluciano <cmlucian@us.ibm.com>2015-03-11 16:11:08 -0400
committercmluciano <cmlucian@us.ibm.com>2015-03-11 16:14:00 -0400
commita18901c75e7de1689ecba8ad16793e3a8d0292ab (patch)
tree1ad3ae6998235de1ba9bb997b4ea2dd4a47e1c5a /lib/chef/node.rb
parent1112130eb05d7d824404ab530cd9407a1ef92995 (diff)
downloadchef-a18901c75e7de1689ecba8ad16793e3a8d0292ab.tar.gz
Change inspect to string to be more human-readable.
Should close [Issue 2863](https://github.com/chef/chef/issues/2863)
Diffstat (limited to 'lib/chef/node.rb')
-rw-r--r--lib/chef/node.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/node.rb b/lib/chef/node.rb
index f9f6416f14..9823185ede 100644
--- a/lib/chef/node.rb
+++ b/lib/chef/node.rb
@@ -323,7 +323,7 @@ class Chef
if attrs.key?("recipes") || attrs.key?("run_list")
raise Chef::Exceptions::AmbiguousRunlistSpecification, "please set the node's run list using the 'run_list' attribute only."
end
- Chef::Log.info("Setting the run_list to #{new_run_list.inspect} from CLI options")
+ Chef::Log.info("Setting the run_list to #{new_run_list.to_s} from CLI options")
run_list(new_run_list)
end
attrs