diff options
author | Robert Mullins <rmullins@secureworks.com> | 2017-03-07 14:40:41 -0500 |
---|---|---|
committer | Robert Mullins <rmullins@secureworks.com> | 2017-03-08 11:44:08 -0500 |
commit | 821829642676c1a2e323694c39df05e1cd84e935 (patch) | |
tree | cd84208cec7c0a6f3bcc05069c3e01eb87bb3cf2 | |
parent | 0b7fe6d110dba303c91e7ed2ff2afefa648aea6f (diff) | |
download | chef-821829642676c1a2e323694c39df05e1cd84e935.tar.gz |
Fix style errors and add dco signoff.
Signed-off-by: Robert Mullins <rmullins@secureworks.com>
-rw-r--r-- | chef-config/lib/chef-config/config.rb | 2 | ||||
-rw-r--r-- | lib/chef/blacklist.rb | 2 | ||||
-rw-r--r-- | spec/unit/node_spec.rb | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/chef-config/lib/chef-config/config.rb b/chef-config/lib/chef-config/config.rb index 51d019c432..dca524bc36 100644 --- a/chef-config/lib/chef-config/config.rb +++ b/chef-config/lib/chef-config/config.rb @@ -843,7 +843,7 @@ module ChefConfig default :default_attribute_blacklist, nil default :normal_attribute_blacklist, nil default :override_attribute_blacklist, nil - + # Pull down all the rubygems versions from rubygems and cache them the first time we do a gem_package or # chef_gem install. This is memory-expensive and will grow without bounds, but will reduce network # round trips. diff --git a/lib/chef/blacklist.rb b/lib/chef/blacklist.rb index 3c2f4f7baa..a49c318295 100644 --- a/lib/chef/blacklist.rb +++ b/lib/chef/blacklist.rb @@ -31,7 +31,7 @@ class Chef return data if blacklist.nil? blacklist.each do |item| - Chef::Log.warn("Removing item #{item}") + Chef::Log.warn("Removing item #{item}") remove_data(data, item) end data diff --git a/spec/unit/node_spec.rb b/spec/unit/node_spec.rb index bec15032d9..a8f50de046 100644 --- a/spec/unit/node_spec.rb +++ b/spec/unit/node_spec.rb @@ -1681,7 +1681,6 @@ describe Chef::Node do end end - context "when policyfile attributes are present" do before do |