diff options
author | Tim Smith <tsmith@chef.io> | 2017-12-21 12:08:09 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2017-12-21 12:09:33 -0800 |
commit | 31c8fb12bb4d4ae5a853cf25e2b80843c00bf918 (patch) | |
tree | 19b96ed9850aeacf53cc8280ba9486b4b91adfcb /lib | |
parent | bbd9888e5347708a976492a11e0e18be3a6ba158 (diff) | |
download | chef-31c8fb12bb4d4ae5a853cf25e2b80843c00bf918.tar.gz |
Add the missing provides
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/provider/windows_path.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/provider/windows_path.rb b/lib/chef/provider/windows_path.rb index e31ecaf2a0..d43b34cdda 100644 --- a/lib/chef/provider/windows_path.rb +++ b/lib/chef/provider/windows_path.rb @@ -23,9 +23,10 @@ require "chef/exceptions" class Chef class Provider class WindowsPath < Chef::Provider - include Chef::Mixin::WindowsEnvHelper if Chef::Platform.windows? + provides :windows_path, os: "windows" + def load_current_resource @current_resource = Chef::Resource::WindowsPath.new(new_resource.name) @current_resource.path(new_resource.path) |