diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-09-11 21:16:42 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-09-11 21:16:42 -0300 |
commit | 76ec4642be1a8bc64380c077a5890c4d0f4243e0 (patch) | |
tree | e31930271b7eefb3c3d693264e012e8ff45832ae /manifests/defines/sysctl.pp | |
parent | 6509060a791daeeee13c40f9367489ac5e00880e (diff) | |
download | puppet-nodo-76ec4642be1a8bc64380c077a5890c4d0f4243e0.tar.gz puppet-nodo-76ec4642be1a8bc64380c077a5890c4d0f4243e0.tar.bz2 |
Autoload definitions
Diffstat (limited to 'manifests/defines/sysctl.pp')
-rw-r--r-- | manifests/defines/sysctl.pp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/manifests/defines/sysctl.pp b/manifests/defines/sysctl.pp deleted file mode 100644 index 06f6a14..0000000 --- a/manifests/defines/sysctl.pp +++ /dev/null @@ -1,19 +0,0 @@ -# Simple sysctl definition -define sysctl( - $ensure = present, - $value -) { - file { "/etc/sysctl.d/${name}.conf": - owner => "root", - group => "root", - mode => 0644, - ensure => $ensure, - content => "$name = $value\n", - } - - exec { "sysctl ${name}=${value}": - user => root, - subscribe => File["/etc/sysctl.d/${name}.conf"], - refreshonly => true, - } -} |