diff --git a/libraries/powershell_module_resource.rb b/libraries/powershell_module_resource.rb index 8963050..3ca713f 100644 --- a/libraries/powershell_module_resource.rb +++ b/libraries/powershell_module_resource.rb @@ -22,7 +22,7 @@ class PowershellModule < Chef::Resource::Package state_attrs :enabled - provides :powershell_module, on_platforms: ['windows'] + provides :powershell_module, platform: ['windows'] def initialize(name, run_context = nil) super