diff options
author | Tim Smith <tsmith@chef.io> | 2018-06-11 10:58:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-11 10:58:51 -0700 |
commit | e30ca37a012ac501e1bf725fdbc38b9c510c0408 (patch) | |
tree | d09f3e3b2a4856d9f90de8741fb33fb0c752bd9a /lib | |
parent | 3777f77bc0ccace0a7f11015e3fb4c7de4a43823 (diff) | |
parent | 7cdf9f35f6f40b26ec2f408f31e5e43d150b80a1 (diff) | |
download | chef-e30ca37a012ac501e1bf725fdbc38b9c510c0408.tar.gz |
Merge pull request #7351 from josh-barker/bug/why-run-windows-package-local-file
Add whyrun message when installing a local file on Windows
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/provider/package/windows.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/provider/package/windows.rb b/lib/chef/provider/package/windows.rb index 8958bff068..05f865d4e4 100644 --- a/lib/chef/provider/package/windows.rb +++ b/lib/chef/provider/package/windows.rb @@ -44,6 +44,7 @@ class Chef requirements.assert(:install) do |a| a.assertion { ::File.exist?(new_resource.source) } a.failure_message Chef::Exceptions::Package, "Source for package #{new_resource.name} does not exist" + a.whyrun "Assuming source file #{new_resource.source} would have been created." end end end |