From: Silvio Rhatto Date: Tue, 30 May 2017 14:05:42 +0000 (-0300) Subject: Setup persistent motd X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ca82dc254959c0f1b8f8c3105093cfebf3248ee2;p=puppet-nodo.git Setup persistent motd --- diff --git a/manifests/subsystem/motd.pp b/manifests/subsystem/motd.pp index 57157f9..0ed8cbe 100644 --- a/manifests/subsystem/motd.pp +++ b/manifests/subsystem/motd.pp @@ -1,19 +1,11 @@ class nodo::subsystem::motd( $network_name = hiera('nodo::subsystem::motd::network_name', 'Nodo') ) { - # http://projects.reductivelabs.com/issues/1915 - file { "/var/run/motd": + file { "/etc/motd": owner => "root", group => "root", mode => 0644, ensure => file, content => "This is ${::fqdn} from the ${network_name}.\n", } - - file { "/etc/motd": - owner => "root", - group => "root", - ensure => "/var/run/motd", - require => File["/var/run/motd"], - } }