From ee2b965b20a7707182d1bc99f4715be19bd6f16b Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Tue, 14 Oct 2014 09:37:39 -0400 Subject: [PATCH] init: bring motd more flexible Delete all things related to eNovance & french law. Add a new parameter to be able to change the MOTD title, with "eNovance IT Operations" by default. --- manifests/init.pp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 142500a3..83459ac4 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -22,7 +22,8 @@ class cloud( $rhn_registration = undef, $root_password = 'root', $dns_ips = ['8.8.8.8', '8.8.4.4'], - $site_domain = 'mydomain' + $site_domain = 'mydomain', + $motd_title = 'eNovance IT Operations', ) { if ! ($::osfamily in [ 'RedHat', 'Debian' ]) { @@ -37,14 +38,13 @@ class cloud( mode => '0644', content => " ############################################################################ -# eNovance IT Operations # +# ${motd_title} # ############################################################################ # # # *** RESTRICTED ACCESS *** # # Only the authorized users may access this system. # -# Any attempted unauthorized access or any action affecting the computer # -# system of eNovance is punishable under articles 323-1 to 323-7 of # -# French criminal law. # +# Any attempted unauthorized access or any action affecting this computer # +# system is punishable by the law of local country. # # # ############################################################################ This node is under the control of Puppet ${::puppetversion}.