diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-05-07 20:58:21 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-05-07 20:58:21 -0300 |
commit | d6d256a293da043076351c62146228ed5bd4dfbc (patch) | |
tree | 230ffbd0ce66f2756fd2ac8bf897a11cf4329fc4 /manifests/subsystem/motd.pp | |
parent | 508668172faddb6765b6de5582a9bd6214b859fb (diff) | |
download | puppet-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.pp | 4 |
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" |