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/media.pp | |
parent | 508668172faddb6765b6de5582a9bd6214b859fb (diff) | |
download | puppet-nodo-d6d256a293da043076351c62146228ed5bd4dfbc.tar.gz puppet-nodo-d6d256a293da043076351c62146228ed5bd4dfbc.tar.bz2 |
Hiera 5 migration
Diffstat (limited to 'manifests/subsystem/media.pp')
-rw-r--r-- | manifests/subsystem/media.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/subsystem/media.pp b/manifests/subsystem/media.pp index b67ddbd..1319e73 100644 --- a/manifests/subsystem/media.pp +++ b/manifests/subsystem/media.pp @@ -3,7 +3,7 @@ class nodo::subsystem::media { class { [ 'nodo::subsystem::media::folders', 'nodo::subsystem::media::groups' ]: } # Make sure basic media exist, no matter if there is an external disk attached - $cache = hiera('nodo::media::folders', '') + $cache = lookup('nodo::media::folders', undef, undef, '') if $cache != '' { file { "${cache}": |