diff options
Diffstat (limited to 'manifests/subsystem/sysctl.pp')
-rw-r--r-- | manifests/subsystem/sysctl.pp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/manifests/subsystem/sysctl.pp b/manifests/subsystem/sysctl.pp index 1df0348..03e1683 100644 --- a/manifests/subsystem/sysctl.pp +++ b/manifests/subsystem/sysctl.pp @@ -38,18 +38,3 @@ class nodo::subsystem::sysctl { refreshonly => true, } } - -class sysctl::appliance($kernel_panic = hiera('nodo::sysctl::appliance', '20')) { - file { "/etc/sysctl.d/kernel.panic.conf": - owner => "root", - group => "root", - mode => 0644, - ensure => present, - content => "kernel.panic = ${kernel_panic}\n", - } - - exec { "/bin/echo '${kernel_panic}' > /proc/sys/kernel/panic": - subscribe => File["/etc/sysctl.d/kernel.panic.conf"], - refreshonly => true, - } -} |