From ca82dc254959c0f1b8f8c3105093cfebf3248ee2 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 30 May 2017 11:05:42 -0300 Subject: Setup persistent motd --- manifests/subsystem/motd.pp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'manifests/subsystem') 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"], - } } -- cgit v1.2.3