From a3aba411ccdf1a0a5f236ed3ce2a678a1892e29b Mon Sep 17 00:00:00 2001 From: John Keiser Date: Wed, 27 May 2015 16:04:47 -0700 Subject: Move resource_name up to Resource, and figure out its value automatically --- lib/chef/resource/powershell_script.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/chef/resource/powershell_script.rb') diff --git a/lib/chef/resource/powershell_script.rb b/lib/chef/resource/powershell_script.rb index 43aafe4df2..065121abe3 100644 --- a/lib/chef/resource/powershell_script.rb +++ b/lib/chef/resource/powershell_script.rb @@ -24,7 +24,7 @@ class Chef provides :powershell_script, os: "windows" def initialize(name, run_context=nil) - super(name, run_context, :powershell_script, "powershell.exe") + super(name, run_context, nil, "powershell.exe") @convert_boolean_return = false end -- cgit v1.2.1