From e4ed292f15618d1b556c4ad7081afc4e1f41aa6a Mon Sep 17 00:00:00 2001 From: Thomas Gordon Date: Thu, 3 May 2018 12:13:23 -0400 Subject: Default gem_package.clear_sources to Chef::Config[:clear_gem_sources] (style fixes) Signed-off-by: Thomas Gordon --- lib/chef/resource/gem_package.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chef/resource/gem_package.rb b/lib/chef/resource/gem_package.rb index 3a60ccf0d8..f2e1867322 100644 --- a/lib/chef/resource/gem_package.rb +++ b/lib/chef/resource/gem_package.rb @@ -40,7 +40,7 @@ class Chef # FIXME? the array form of installing paths most likely does not work? # property :source, [ String, Array ] - property :clear_sources, [ TrueClass, FalseClass ], default: lazy {Chef::Config[:clear_gem_sources]}, desired_state: false + property :clear_sources, [ TrueClass, FalseClass ], default: lazy { Chef::Config[:clear_gem_sources] }, desired_state: false # Sets a custom gem_binary to run for gem commands. property :gem_binary, String, desired_state: false -- cgit v1.2.1