Merge pull request #580 from cmurphy/fix_bzcat

Install bzip2 on RHEL 7 and Fedora hosts
This commit is contained in:
Morgan Haskel 2014-10-07 18:52:11 -04:00
commit 91e57102d6

View file

@ -30,6 +30,9 @@ RSpec.configure do |c|
if fact('osfamily') == 'RedHat'
version = fact("operatingsystemmajrelease")
shell("yum localinstall -y http://yum.puppetlabs.com/puppetlabs-release-el-#{version}.noarch.rpm")
if fact('operatingsystemmajrelease') =~ /7/ || fact('operatingsystem') =~ /Fedora/
shell("yum install -y bzip2")
end
end
shell("/bin/touch #{default['puppetpath']}/hiera.yaml")