summaryrefslogtreecommitdiff
path: root/lib/chef/provider/powershell_script.rb
diff options
context:
space:
mode:
authorAdam Edwards <adamed@opscode.com>2014-03-29 16:22:25 -0700
committerAdam Edwards <adamed@opscode.com>2014-03-29 16:33:36 -0700
commit0c5e2151a3f9c6f9eb4344e79883f944d1de1b4d (patch)
tree6f8da05a4c97754c88026db3f87c9e68b0ecb296 /lib/chef/provider/powershell_script.rb
parent43b3f4c0a48a5f6a5c242bb649f72239197b0097 (diff)
downloadchef-0c5e2151a3f9c6f9eb4344e79883f944d1de1b4d.tar.gz
Address regression with convert_boolean_return always set to true
Diffstat (limited to 'lib/chef/provider/powershell_script.rb')
-rw-r--r--lib/chef/provider/powershell_script.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/powershell_script.rb b/lib/chef/provider/powershell_script.rb
index f3135f1a35..967b2d822b 100644
--- a/lib/chef/provider/powershell_script.rb
+++ b/lib/chef/provider/powershell_script.rb
@@ -44,7 +44,7 @@ class Chef
EXIT_STATUS_NORMALIZATION_SCRIPT )
convert_boolean_return = @new_resource.convert_boolean_return
@code = <<EOH
-new-variable -name interpolatedexitcode -visibility private -value #{convert_boolean_return}
+new-variable -name interpolatedexitcode -visibility private -value $#{convert_boolean_return}
new-variable -name chefscriptresult -visibility private
$chefscriptresult = {
#{target_code}