Sha256: 177d917c878f13568367465c3d6082bc2292dd37c8618dd1beb66a3a05383cb8
Contents?: true
Size: 581 Bytes
Versions: 2
Compression:
Stored size: 581 Bytes
Contents
# encoding: utf-8 # author: Christoph Hartmann # author: Dominik Richter # # installs everything to do the package test case node['platform'] when 'ubuntu', 'debian' include_recipe('apt') package 'curl' when 'rhel', 'centos', 'fedora' include_recipe('yum') # TODO: support DNF natively # Special care for fedora 22, since dnf is not officially supported yet # https://github.com/chef/chef/issues/3201 if node['platform_version'] == '22' execute 'dnf install -y yum' end package 'curl' when 'freebsd' # do nothing # TODO: implement Freebsd packages end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
inspec-0.30.0 | test/cookbooks/os_prepare/recipes/package.rb |
inspec-0.29.0 | test/cookbooks/os_prepare/recipes/package.rb |