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/mixin | |
parent | 03eadde04eb219bfa8abe52d312261a5142e7266 (diff) | |
download | chef-b48b150cc50dbd54a719ea54a965de53d4531170.tar.gz |
convert MultilineOperationIndentation style to "indented"
this looks nicer.
Diffstat (limited to 'lib/chef/mixin')
-rw-r--r-- | lib/chef/mixin/template.rb | 2 | ||||
-rw-r--r-- | lib/chef/mixin/windows_architecture_helper.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/mixin/template.rb b/lib/chef/mixin/template.rb index f749d34c51..c423ccaa42 100644 --- a/lib/chef/mixin/template.rb +++ b/lib/chef/mixin/template.rb @@ -105,7 +105,7 @@ class Chef def node return @node if @node raise "Could not find a value for node. If you are explicitly setting variables in a template, " + - "include a node variable if you plan to use it." + "include a node variable if you plan to use it." end # diff --git a/lib/chef/mixin/windows_architecture_helper.rb b/lib/chef/mixin/windows_architecture_helper.rb index c55f92b362..11e1b5559d 100644 --- a/lib/chef/mixin/windows_architecture_helper.rb +++ b/lib/chef/mixin/windows_architecture_helper.rb @@ -48,7 +48,7 @@ class Chef def with_os_architecture(node, architecture: nil) node ||= begin os_arch = ENV["PROCESSOR_ARCHITEW6432"] || - ENV["PROCESSOR_ARCHITECTURE"] + ENV["PROCESSOR_ARCHITECTURE"] Hash.new.tap do |n| n[:kernel] = Hash.new n[:kernel][:machine] = os_arch == "AMD64" ? :x86_64 : :i386 |