mirror of
https://github.com/inspec/inspec
synced 2024-11-24 05:33:17 +00:00
2f89081f53
We have an apt_update resource now Yum cookbook was never needed dnf is now supported on Fedora out of the box Signed-off-by: Tim Smith <tsmith@chef.io>
16 lines
314 B
Ruby
16 lines
314 B
Ruby
# encoding: utf-8
|
|
# author: Christoph Hartmann
|
|
# author: Dominik Richter
|
|
#
|
|
# installs everything to do the package test
|
|
|
|
case node['platform_family']
|
|
when 'debian'
|
|
apt_update
|
|
package 'curl'
|
|
when 'rhel', 'fedora', 'amazon'
|
|
package 'curl'
|
|
when 'freebsd'
|
|
# do nothing
|
|
# TODO: implement Freebsd packages
|
|
end
|