aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/motd.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-24 13:18:39 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-24 13:18:39 -0200
commitad27f5dac1870369abe10e88fbb034ffa391f12c (patch)
tree2ec4be14af75dbc7508d490ed552288973e3a006 /manifests/subsystems/motd.pp
parent9c64cff37985a26f7aac5474928403f2605c588f (diff)
downloadpuppet-nodo-ad27f5dac1870369abe10e88fbb034ffa391f12c.tar.gz
puppet-nodo-ad27f5dac1870369abe10e88fbb034ffa391f12c.tar.bz2
Lots of subsystem refactoring; minor node changes
Diffstat (limited to 'manifests/subsystems/motd.pp')
-rw-r--r--manifests/subsystems/motd.pp6
1 files changed, 4 insertions, 2 deletions
diff --git a/manifests/subsystems/motd.pp b/manifests/subsystems/motd.pp
index c8029bf..f9ece2d 100644
--- a/manifests/subsystems/motd.pp
+++ b/manifests/subsystems/motd.pp
@@ -1,11 +1,13 @@
-class motd {
+class motd(
+ $network_name = hiera('nodo::motd::network_name', 'Nodo')
+) {
# http://projects.reductivelabs.com/issues/1915
file { "/var/run/motd":
owner => "root",
group => "root",
mode => 0644,
ensure => file,
- content => "This is $fqdn from the $network_name.\n",
+ content => "This is ${::fqdn} from the ${network_name}.\n",
}
file { "/etc/motd":