summaryrefslogtreecommitdiff
path: root/lib/chef/mixin/windows_architecture_helper.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-02-09 08:17:32 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-02-09 08:17:32 -0800
commit37e02399a6e1dd281808a556f1420f8cf6e846fd (patch)
tree86834a5371fccfc474004233e45ab00dd7355574 /lib/chef/mixin/windows_architecture_helper.rb
parentf073747786abbe6ada55ed24b696a03e39c3c45d (diff)
downloadchef-37e02399a6e1dd281808a556f1420f8cf6e846fd.tar.gz
autofixing auto-inserted delimiterslcg/chefstyle-batch
Diffstat (limited to 'lib/chef/mixin/windows_architecture_helper.rb')
-rw-r--r--lib/chef/mixin/windows_architecture_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/mixin/windows_architecture_helper.rb b/lib/chef/mixin/windows_architecture_helper.rb
index ea058537ea..c55f92b362 100644
--- a/lib/chef/mixin/windows_architecture_helper.rb
+++ b/lib/chef/mixin/windows_architecture_helper.rb
@@ -98,13 +98,13 @@ class Chef
end
def disable_wow64_file_redirection( node )
- if ( node_windows_architecture(node) == :x86_64) && ::Chef::Platform.windows?
+ if ( node_windows_architecture(node) == :x86_64) && ::Chef::Platform.windows?
Chef::ReservedNames::Win32::System.wow64_disable_wow64_fs_redirection
end
end
def restore_wow64_file_redirection( node, original_redirection_state )
- if (node_windows_architecture(node) == :x86_64) && ::Chef::Platform.windows?
+ if (node_windows_architecture(node) == :x86_64) && ::Chef::Platform.windows?
Chef::ReservedNames::Win32::System.wow64_revert_wow64_fs_redirection(original_redirection_state)
end
end