diff options
Diffstat (limited to 'lib/chef/file_content_management/deploy.rb')
-rw-r--r-- | lib/chef/file_content_management/deploy.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/file_content_management/deploy.rb b/lib/chef/file_content_management/deploy.rb index 1e3ae55c21..751ca76b6b 100644 --- a/lib/chef/file_content_management/deploy.rb +++ b/lib/chef/file_content_management/deploy.rb @@ -18,7 +18,7 @@ require "chef/file_content_management/deploy/cp" require "chef/file_content_management/deploy/mv_unix" -if Chef::Platform.windows? +if ChefHelpers.windows? require "chef/file_content_management/deploy/mv_windows" end @@ -27,7 +27,7 @@ class Chef class Deploy def self.strategy(atomic_update) if atomic_update - Chef::Platform.windows? ? MvWindows.new() : MvUnix.new() + ChefHelpers.windows? ? MvWindows.new() : MvUnix.new() else Cp.new() end |