aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-05-30 11:05:42 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-05-30 11:05:42 -0300
commitca82dc254959c0f1b8f8c3105093cfebf3248ee2 (patch)
treea250fde8b6c61ed3f6f0fc4bb99a3a2c01934860 /manifests/subsystem
parent70ef8c84b32bc67be37f616496e0f7af5da3df54 (diff)
downloadpuppet-nodo-ca82dc254959c0f1b8f8c3105093cfebf3248ee2.tar.gz
puppet-nodo-ca82dc254959c0f1b8f8c3105093cfebf3248ee2.tar.bz2
Setup persistent motd
Diffstat (limited to 'manifests/subsystem')
-rw-r--r--manifests/subsystem/motd.pp10
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"],
- }
}