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.pp | |
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.pp')
-rw-r--r-- | manifests/subsystem/sysctl.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/subsystem/sysctl.pp b/manifests/subsystem/sysctl.pp index aef4278..4329010 100644 --- a/manifests/subsystem/sysctl.pp +++ b/manifests/subsystem/sysctl.pp @@ -7,7 +7,7 @@ class nodo::subsystem::sysctl { file { "/etc/sysctl.d/mmap_min_addr.conf": owner => "root", group => "root", - mode => 0644, + mode => '0644', ensure => present, content => "vm.mmap_min_addr = 4096\n", } @@ -16,7 +16,7 @@ class nodo::subsystem::sysctl { file { "/etc/sysctl.d/net.ipv4.conf.all.promote_secondaries.conf": owner => "root", group => "root", - mode => 0644, + mode => '0644', ensure => present, content => "net.ipv4.conf.all.promote_secondaries = 1\n", } @@ -31,7 +31,7 @@ class nodo::subsystem::sysctl { file { "/etc/sysctl.d/kernel.printk.conf": owner => "root", group => "root", - mode => 0644, + mode => '0644', ensure => present, content => "kernel.printk = ${printk_levels}\n", } |