aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/motd.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-05-07 20:58:21 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-05-07 20:58:21 -0300
commitd6d256a293da043076351c62146228ed5bd4dfbc (patch)
tree230ffbd0ce66f2756fd2ac8bf897a11cf4329fc4 /manifests/subsystem/motd.pp
parent508668172faddb6765b6de5582a9bd6214b859fb (diff)
downloadpuppet-nodo-d6d256a293da043076351c62146228ed5bd4dfbc.tar.gz
puppet-nodo-d6d256a293da043076351c62146228ed5bd4dfbc.tar.bz2
Hiera 5 migration
Diffstat (limited to 'manifests/subsystem/motd.pp')
-rw-r--r--manifests/subsystem/motd.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/subsystem/motd.pp b/manifests/subsystem/motd.pp
index df671eb..1ce0038 100644
--- a/manifests/subsystem/motd.pp
+++ b/manifests/subsystem/motd.pp
@@ -1,6 +1,6 @@
class nodo::subsystem::motd(
- $message = hiera('nodo::subsystem::motd::message', ''),
- $network_name = hiera('nodo::subsystem::motd::network_name', 'Nodo')
+ $message = lookup('nodo::subsystem::motd::message', undef, undef, ''),
+ $network_name = lookup('nodo::subsystem::motd::network_name', undef, undef, 'Nodo')
) {
if $message != '' {
$append = "${message}\n"