diff options
author | Tim Smith <tsmith@chef.io> | 2018-08-13 15:49:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-13 15:49:18 -0700 |
commit | 99bec1684ce1a2392095e3a555fe8a66fd0e8b1e (patch) | |
tree | 2963ecc05f69a7a51fe5fb2b12f405b670914113 | |
parent | f33853e51cf727ac0297c80823d0d62a46fce689 (diff) | |
parent | 303ab20e892e4ef0b511023f180de62e3504a40c (diff) | |
download | chef-99bec1684ce1a2392095e3a555fe8a66fd0e8b1e.tar.gz |
Merge pull request #7353 from MsysTechnologiesllc/dh/package_options_sensitive
windows_package: Fix package sensitive error
-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 |