diff options
author | Thom May <thom@chef.io> | 2016-01-14 14:08:03 +0000 |
---|---|---|
committer | Thom May <thom@chef.io> | 2016-01-14 14:08:03 +0000 |
commit | 51cfbdc4d16739caac4d946fadbe678444aafe34 (patch) | |
tree | 56dfd8f1cd9fd933de27268b32402e955a43ac2b /lib/chef/run_list.rb | |
parent | 05064423057d4cf46f4713b81b08829cf6d20af6 (diff) | |
download | chef-51cfbdc4d16739caac4d946fadbe678444aafe34.tar.gz |
Use double quotes by default
This is an entirely mechanically generated (chefstyle -a) change, to go
along with chef/chefstyle#5 . We should pick something and use it
consistently, and my opinion is that double quotes are the appropriate
thing.
Diffstat (limited to 'lib/chef/run_list.rb')
-rw-r--r-- | lib/chef/run_list.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/chef/run_list.rb b/lib/chef/run_list.rb index 01e32ffc98..b04dcb6d74 100644 --- a/lib/chef/run_list.rb +++ b/lib/chef/run_list.rb @@ -19,10 +19,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -require 'chef/run_list/run_list_item' -require 'chef/run_list/run_list_expansion' -require 'chef/run_list/versioned_recipe_list' -require 'chef/mixin/params_validate' +require "chef/run_list/run_list_item" +require "chef/run_list/run_list_expansion" +require "chef/run_list/versioned_recipe_list" +require "chef/mixin/params_validate" class Chef class RunList @@ -138,7 +138,7 @@ class Chef # Expands this run_list: recursively expand roles into their included # recipes. # Returns a RunListExpansion object. - def expand(environment, data_source='server', expansion_opts={}) + def expand(environment, data_source="server", expansion_opts={}) expansion = expansion_for_data_source(environment, data_source, expansion_opts) expansion.expand expansion @@ -155,9 +155,9 @@ class Chef def expansion_for_data_source(environment, data_source, opts={}) case data_source.to_s - when 'disk' + when "disk" RunListExpansionFromDisk.new(environment, @run_list_items) - when 'server' + when "server" RunListExpansionFromAPI.new(environment, @run_list_items, opts[:rest]) end end |