Commit b008e0e8 authored by Fabien Combernous's avatar Fabien Combernous

Merge branch '26-disable-ipv6-on-sut-with-helper_acceptance' into 'master'

Resolve "disable ipv6 on SUT with helper_acceptance"

Closes #26

See merge request adullact/puppet-freeipa!26
parents b208d48e 85c005ac
......@@ -24,11 +24,20 @@ RSpec.configure do |c|
exec { 'stop network manager':
command => 'systemctl stop NetworkManager',
onlyif => 'systemctl status NetworkManager',
path => '/usr/bin:/sbin:/bin'
path => '/usr/bin:/sbin:/bin',
}
EOS
EOS
apply_manifest_on(host, pp, catch_failures: true)
yumipv4 = <<-EOS
exec {'echo "ip_resolve=4" >> /etc/yum.conf':
onlyif => 'grep -v "^ip_resolve=4" /etc/yum.conf',
path => '/usr/bin:/sbin:/bin',
}
EOS
apply_manifest_on(host, yumipv4, catch_failures: true) if fact('os.family') == 'RedHat'
end
## Preconfigure master
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment