Wrap this in a test for PE.
This commit is contained in:
parent
f818fbecf8
commit
469feb6bf9
1 changed files with 8 additions and 6 deletions
|
@ -40,8 +40,9 @@ unless ENV['RS_PROVISION'] == 'no' or ENV['BEAKER_provision'] == 'no'
|
||||||
else
|
else
|
||||||
install_puppet
|
install_puppet
|
||||||
end
|
end
|
||||||
hosts.each do |host|
|
|
||||||
on hosts, "mkdir -p #{host['distmoduledir']}"
|
on hosts, "mkdir -p #{host['distmoduledir']}"
|
||||||
|
hosts.each do |host|
|
||||||
|
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'
|
||||||
|
@ -49,6 +50,7 @@ unless ENV['RS_PROVISION'] == 'no' or ENV['BEAKER_provision'] == 'no'
|
||||||
install_package host, 'ruby-augeas'
|
install_package host, 'ruby-augeas'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
UNSUPPORTED_PLATFORMS = ['AIX','windows','Solaris','Suse']
|
UNSUPPORTED_PLATFORMS = ['AIX','windows','Solaris','Suse']
|
||||||
|
|
Loading…
Reference in a new issue