diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-12 09:55:42 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-12 09:55:42 -0800 |
commit | b48b150cc50dbd54a719ea54a965de53d4531170 (patch) | |
tree | ca26e5887c259d6c2c1d6b9fc82247fefa8fe8c0 /lib/chef/policy_builder | |
parent | 03eadde04eb219bfa8abe52d312261a5142e7266 (diff) | |
download | chef-b48b150cc50dbd54a719ea54a965de53d4531170.tar.gz |
convert MultilineOperationIndentation style to "indented"
this looks nicer.
Diffstat (limited to 'lib/chef/policy_builder')
-rw-r--r-- | lib/chef/policy_builder/dynamic.rb | 6 | ||||
-rw-r--r-- | lib/chef/policy_builder/policyfile.rb | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/policy_builder/dynamic.rb b/lib/chef/policy_builder/dynamic.rb index 22438a1e0f..c6c7deeee6 100644 --- a/lib/chef/policy_builder/dynamic.rb +++ b/lib/chef/policy_builder/dynamic.rb @@ -149,9 +149,9 @@ class Chef # testing purposes; production code should call #load_node instead. def select_implementation(node) if policyfile_set_in_config? || - policyfile_attribs_in_node_json? || - node_has_policyfile_attrs?(node) || - policyfile_compat_mode_config? + policyfile_attribs_in_node_json? || + node_has_policyfile_attrs?(node) || + policyfile_compat_mode_config? @implementation = Policyfile.new(node_name, ohai_data, json_attribs, override_runlist, events) else @implementation = ExpandNodeObject.new(node_name, ohai_data, json_attribs, override_runlist, events) diff --git a/lib/chef/policy_builder/policyfile.rb b/lib/chef/policy_builder/policyfile.rb index 1c0145348a..9a6e62bc5d 100644 --- a/lib/chef/policy_builder/policyfile.rb +++ b/lib/chef/policy_builder/policyfile.rb @@ -257,7 +257,7 @@ class Chef named_run_list or raise ConfigurationError, "Policy '#{retrieved_policy_name}' revision '#{revision_id}' does not have named_run_list '#{named_run_list_name}'" + - "(available named_run_lists: [#{available_named_run_lists.join(', ')}])" + "(available named_run_lists: [#{available_named_run_lists.join(', ')}])" else policy["run_list"] end |