diff options
-rw-r--r-- | lib/chef/provider/windows_path.rb | 2 | ||||
-rw-r--r-- | lib/chef/resource/windows_path.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/windows_path.rb b/lib/chef/provider/windows_path.rb index d43b34cdda..1c78e20606 100644 --- a/lib/chef/provider/windows_path.rb +++ b/lib/chef/provider/windows_path.rb @@ -25,7 +25,7 @@ class Chef class WindowsPath < Chef::Provider include Chef::Mixin::WindowsEnvHelper if Chef::Platform.windows? - provides :windows_path, os: "windows" + provides :windows_path def load_current_resource @current_resource = Chef::Resource::WindowsPath.new(new_resource.name) diff --git a/lib/chef/resource/windows_path.rb b/lib/chef/resource/windows_path.rb index a8a882d4c1..7da24a3c06 100644 --- a/lib/chef/resource/windows_path.rb +++ b/lib/chef/resource/windows_path.rb @@ -25,7 +25,7 @@ class Chef # @since 13.4 class WindowsPath < Chef::Resource resource_name :windows_path - provides :windows_path, os: "windows" + provides :windows_path allowed_actions :add, :remove default_action :add |