diff options
Diffstat (limited to 'lib/chef/provider/script.rb')
-rw-r--r-- | lib/chef/provider/script.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/script.rb b/lib/chef/provider/script.rb index c5966370f7..3c0431e928 100644 --- a/lib/chef/provider/script.rb +++ b/lib/chef/provider/script.rb @@ -18,7 +18,7 @@ require "tempfile" require "chef/provider/execute" -require "chef/win32/security" if Chef::Platform.windows? +require "chef/win32/security" if ChefHelpers.windows? require "forwardable" class Chef @@ -67,7 +67,7 @@ class Chef end def set_owner_and_group - if Chef::Platform.windows? + if ChefHelpers.windows? # And on Windows also this is a no-op if there is no user specified. grant_alternate_user_read_access else |