Make sysctl net.ipv4.ip_forward def safe
When using puppet-nova with another big Puppet modules this sysctl may be defined before. The solution is to make a definition safe. Closes-bug: #1384145 Change-Id: I4d28f277bccd16f3719a4806e641461df3749518
This commit is contained in:
parent
648c9e8583
commit
aa578ae78b
@ -79,9 +79,7 @@ class nova::network(
|
||||
path => $::path
|
||||
}
|
||||
|
||||
sysctl::value { 'net.ipv4.ip_forward':
|
||||
value => '1'
|
||||
}
|
||||
ensure_resource('sysctl::value', 'net.ipv4.ip_forward', { value => '1' })
|
||||
|
||||
if $floating_range {
|
||||
nova_config { 'DEFAULT/floating_range': value => $floating_range }
|
||||
|
Loading…
x
Reference in New Issue
Block a user