aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-03-23 00:52:58 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-03-23 00:52:58 -0300
commit71506d2f67bcf4555df99fdb030f4a6fd32945d9 (patch)
tree6e4436b0661326d95d5f24aad619a40893bc61b5
parente79820e0bbd4c77211480b3895da3cabf0b0c1c6 (diff)
downloadpuppet-nodo-71506d2f67bcf4555df99fdb030f4a6fd32945d9.tar.gz
puppet-nodo-71506d2f67bcf4555df99fdb030f4a6fd32945d9.tar.bz2
Configuring kernel.printk
-rw-r--r--manifests/subsystems/sysctl.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/subsystems/sysctl.pp b/manifests/subsystems/sysctl.pp
index f9cbb99..3e2e198 100644
--- a/manifests/subsystems/sysctl.pp
+++ b/manifests/subsystems/sysctl.pp
@@ -13,6 +13,14 @@ class sysctl {
subscribe => File["/etc/sysctl.d/mmap_min_addr.conf"],
refreshonly => true,
}
+
+ file { "/etc/sysctl.d/kernel.printk.conf":
+ owner => "root",
+ group => "root",
+ mode => 0644,
+ ensure => present,
+ content => "kernel.printk = 3 4 1 3\n",
+ }
}
class sysctl::laptop {