From c0e1f8bbfc7adc7464e7cc321572dbb84fdb1341 Mon Sep 17 00:00:00 2001 From: Maksim Horbul Date: Thu, 2 Jun 2016 18:34:35 -0700 Subject: [PATCH] remove deprecation warning https://github.com/chef/chef/commit/97aaf5bbcdfd0810722b123bdc67e883a7ca8077 --- libraries/powershell_module_resource.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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