diff options
-rw-r--r-- | lib/chef/provider/package/windows.rb | 1 | ||||
-rw-r--r-- | lib/chef/provider/package/windows/exe.rb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/provider/package/windows.rb b/lib/chef/provider/package/windows.rb index d203adafe2..f011ebf909 100644 --- a/lib/chef/provider/package/windows.rb +++ b/lib/chef/provider/package/windows.rb @@ -229,6 +229,7 @@ class Chef r.timeout(new_resource.timeout) r.returns(new_resource.returns) r.options(new_resource.options) + r.sensitive(new_resource.sensitive) end end diff --git a/lib/chef/provider/package/windows/exe.rb b/lib/chef/provider/package/windows/exe.rb index 6499d0cfeb..e43cd02b08 100644 --- a/lib/chef/provider/package/windows/exe.rb +++ b/lib/chef/provider/package/windows/exe.rb @@ -64,7 +64,7 @@ class Chef unattended_flags, expand_options(new_resource.options), "& exit %%%%ERRORLEVEL%%%%", - ].join(" "), timeout: new_resource.timeout, returns: new_resource.returns + ].join(" "), timeout: new_resource.timeout, returns: new_resource.returns, sensitive: new_resource.sensitive ) end |