diff options
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", } |