diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-05-30 11:05:42 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-05-30 11:05:42 -0300 |
commit | ca82dc254959c0f1b8f8c3105093cfebf3248ee2 (patch) | |
tree | a250fde8b6c61ed3f6f0fc4bb99a3a2c01934860 /manifests/subsystem | |
parent | 70ef8c84b32bc67be37f616496e0f7af5da3df54 (diff) | |
download | puppet-nodo-ca82dc254959c0f1b8f8c3105093cfebf3248ee2.tar.gz puppet-nodo-ca82dc254959c0f1b8f8c3105093cfebf3248ee2.tar.bz2 |
Setup persistent motd
Diffstat (limited to 'manifests/subsystem')
-rw-r--r-- | manifests/subsystem/motd.pp | 10 |
1 files changed, 1 insertions, 9 deletions
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"], - } } |