diff options
author | Tim Smith <tsmith@chef.io> | 2018-03-04 15:48:21 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-03-04 15:48:21 -0800 |
commit | f7dc962e9484f9c7c7fff352530434e33d699945 (patch) | |
tree | 7bbb31156261f114e26c37ada65e3872337e9be3 | |
parent | 599f0dfec0c8c2b0d6d6eaf2a594abeebf40ff66 (diff) | |
download | chef-simpler_apt_provides.tar.gz |
Check the platform family only in the apt_package providessimpler_apt_provides
No reason for OS and platform_family.
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/resource/apt_package.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/apt_package.rb b/lib/chef/resource/apt_package.rb index ea0c9c6183..22680d5b44 100644 --- a/lib/chef/resource/apt_package.rb +++ b/lib/chef/resource/apt_package.rb @@ -23,7 +23,7 @@ class Chef class Resource class AptPackage < Chef::Resource::Package resource_name :apt_package - provides :package, os: "linux", platform_family: "debian" + provides :package, platform_family: "debian" description "Use the apt_package resource to manage packages on Debian and Ubuntu platforms." |