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 else
install_puppet install_puppet
end end
on hosts, "mkdir -p #{host['distmoduledir']}"
hosts.each do |host| hosts.each do |host|
on hosts, "mkdir -p #{host['distmoduledir']}" if ! host.is_pe?
# Augeas is only used in one place, for Redhat. # Augeas is only used in one place, for Redhat.
if fact('osfamily') == 'RedHat' if fact('osfamily') == 'RedHat'
install_package host, 'ruby-devel' install_package host, 'ruby-devel'
install_package host, 'augeas-devel' install_package host, 'augeas-devel'
install_package host, 'ruby-augeas' install_package host, 'ruby-augeas'
end
end end
end end
end end