Sha256: 10f56c18070903a5efa5a939f58c4a56da8bd09f528299661b5765176acc8f90
Contents?: true
Size: 625 Bytes
Versions: 2
Compression:
Stored size: 625 Bytes
Contents
# encoding: utf-8 case os[:family] when 'centos', 'fedora', 'opensuse', 'debian', 'ubuntu' describe package('curl') do it { should be_installed } end when 'aix' describe package('bos.rte') do it { should be_installed } its('version') { should match /^(6|7)[.|\d]+\d$/ } end when 'solaris' if os[:release] == '11' pkg = 'system/file-system/zfs' ver = /^0\.5.+$/ else pkg = 'SUNWzfsr' ver = /^11\.10.+$/ end describe package(pkg) do it { should be_installed } its('version') { should match ver } end end describe package('nginx') do it { should_not be_installed } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
inspec-0.30.0 | test/integration/default/package_spec.rb |
inspec-0.29.0 | test/integration/default/package_spec.rb |