diff options
author | Tim Smith <tsmith@chef.io> | 2018-04-06 20:22:01 -0400 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-04-06 20:22:01 -0400 |
commit | 733934d40b7f4e1008295351ce6f71bee15811d9 (patch) | |
tree | 6edaa2f5321e7b22e9c01df0282c1ecc19ad026b /lib/chef/resource/dmg_package.rb | |
parent | e9c34c593d4fcff1642bd572360cd0f83f0e2bb4 (diff) | |
download | chef-733934d40b7f4e1008295351ce6f71bee15811d9.tar.gz |
Modify the provides for all resources from cookbooks so chef winsprovides
Due to changes in chef-client 14 old cookbooks started winning and this causes lots of problems, especially for old incompatible resources. Chef client should always win here.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/dmg_package.rb')
-rw-r--r-- | lib/chef/resource/dmg_package.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/resource/dmg_package.rb b/lib/chef/resource/dmg_package.rb index 4d95532d37..af0bc341b4 100644 --- a/lib/chef/resource/dmg_package.rb +++ b/lib/chef/resource/dmg_package.rb @@ -21,6 +21,7 @@ class Chef class Resource class DmgPackage < Chef::Resource resource_name :dmg_package + provides(:dmg_package) { true } description "Use the dmg_package resource to install a dmg 'package'. The resource will retrieve the"\ " dmg file from a remote URL, mount it using OS X's hdidutil, copy the application (.app directory)"\ |