From da6d7bf0c305a1cb08301f3476c590e43ac00131 Mon Sep 17 00:00:00 2001 From: Matthew Mosesohn Date: Tue, 24 Jun 2014 18:39:30 +0400 Subject: [PATCH] Reduce pollution to console during deployment Prevents kernel messages about network connections and filesystem mounting from polluting the console during deployment. Change-Id: Ic2b78f2792559317ce9b8196e0376ddefa74f3fc Closes-Bug: #1318510 --- deployment/puppet/nailgun/manifests/host.pp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/deployment/puppet/nailgun/manifests/host.pp b/deployment/puppet/nailgun/manifests/host.pp index 8a0b18beac..5c31aa8c61 100644 --- a/deployment/puppet/nailgun/manifests/host.pp +++ b/deployment/puppet/nailgun/manifests/host.pp @@ -56,13 +56,15 @@ $gem_source = "http://localhost/gems/", owner => 'root', group => 'root', mode => '0755', - } - + } + file { "/etc/resolv.conf": content => template("nailgun/resolv.conf.erb"), owner => 'root', group => 'root', mode => '0644', - } + } + #Suppress kernel messages to console + sysctl::value{'kernel.printk': value=>'4 1 1 7'} }