diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-06-05 19:06:51 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-06-05 19:06:51 -0300 |
commit | 8d8b27b581fb58b8d559d3c7c1e1397e578230c3 (patch) | |
tree | 627c970454600dc8a932b44fb1f76f785db53658 /manifests/subsystem/sysctl | |
parent | e128c09e7432997b1cf4747ec5e0f4fab7985e8e (diff) | |
download | puppet-nodo-8d8b27b581fb58b8d559d3c7c1e1397e578230c3.tar.gz puppet-nodo-8d8b27b581fb58b8d559d3c7c1e1397e578230c3.tar.bz2 |
Changes for puppet 4 compatibility
Diffstat (limited to 'manifests/subsystem/sysctl')
-rw-r--r-- | manifests/subsystem/sysctl/appliance.pp | 2 | ||||
-rw-r--r-- | manifests/subsystem/sysctl/disable_ipv6.pp | 2 | ||||
-rw-r--r-- | manifests/subsystem/sysctl/entry.pp | 2 | ||||
-rw-r--r-- | manifests/subsystem/sysctl/tcp_challenge_ack_limit.pp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/manifests/subsystem/sysctl/appliance.pp b/manifests/subsystem/sysctl/appliance.pp index 83c151c..23b1e96 100644 --- a/manifests/subsystem/sysctl/appliance.pp +++ b/manifests/subsystem/sysctl/appliance.pp @@ -2,7 +2,7 @@ class nodo::subsystem::sysctl::appliance($kernel_panic = hiera('nodo::sysctl::ap file { "/etc/sysctl.d/kernel.panic.conf": owner => "root", group => "root", - mode => 0644, + mode => '0644', ensure => present, content => "kernel.panic = ${kernel_panic}\n", } diff --git a/manifests/subsystem/sysctl/disable_ipv6.pp b/manifests/subsystem/sysctl/disable_ipv6.pp index a6486a0..2404d8f 100644 --- a/manifests/subsystem/sysctl/disable_ipv6.pp +++ b/manifests/subsystem/sysctl/disable_ipv6.pp @@ -6,7 +6,7 @@ class nodo::subsystem::sysctl::disable_ipv6( file { "/etc/sysctl.d/disable_ipv6.conf": owner => "root", group => "root", - mode => 0644, + mode => '0644', ensure => $ensure, source => "puppet:///modules/nodo/etc/sysctl.d/disable_ipv6.conf", } diff --git a/manifests/subsystem/sysctl/entry.pp b/manifests/subsystem/sysctl/entry.pp index 93230d5..2741aba 100644 --- a/manifests/subsystem/sysctl/entry.pp +++ b/manifests/subsystem/sysctl/entry.pp @@ -14,7 +14,7 @@ define nodo::subsystem::sysctl::entry( file { "/etc/sysctl.d/${prefix}${name}.conf": owner => "root", group => "root", - mode => 0644, + mode => '0644', ensure => $ensure, content => "$name = $value\n", } diff --git a/manifests/subsystem/sysctl/tcp_challenge_ack_limit.pp b/manifests/subsystem/sysctl/tcp_challenge_ack_limit.pp index 2f6c753..c1f6650 100644 --- a/manifests/subsystem/sysctl/tcp_challenge_ack_limit.pp +++ b/manifests/subsystem/sysctl/tcp_challenge_ack_limit.pp @@ -8,7 +8,7 @@ class nodo::subsystem::sysctl::tcp_challenge_ack_limit( file { "/etc/sysctl.d/tcp_challenge_ack_limit.conf": owner => "root", group => "root", - mode => 0644, + mode => '0644', ensure => $ensure, content => "net.ipv4.tcp_challenge_ack_limit = 999999999\n", } |