Wrap this in a test for PE.

This commit is contained in:
Ashley Penney 2014-05-03 00:04:18 +02:00
parent f818fbecf8
commit 469feb6bf9

View file

@ -40,13 +40,15 @@ unless ENV['RS_PROVISION'] == 'no' or ENV['BEAKER_provision'] == 'no'
else
install_puppet
end
on hosts, "mkdir -p #{host['distmoduledir']}"
hosts.each do |host|
on hosts, "mkdir -p #{host['distmoduledir']}"
# Augeas is only used in one place, for Redhat.
if fact('osfamily') == 'RedHat'
install_package host, 'ruby-devel'
install_package host, 'augeas-devel'
install_package host, 'ruby-augeas'
if ! host.is_pe?
# Augeas is only used in one place, for Redhat.
if fact('osfamily') == 'RedHat'
install_package host, 'ruby-devel'
install_package host, 'augeas-devel'
install_package host, 'ruby-augeas'
end
end
end
end