From d6d256a293da043076351c62146228ed5bd4dfbc Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 7 May 2020 20:58:21 -0300 Subject: Hiera 5 migration --- manifests/subsystem/hosts.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests/subsystem/hosts.pp') diff --git a/manifests/subsystem/hosts.pp b/manifests/subsystem/hosts.pp index 341a827..54d112b 100644 --- a/manifests/subsystem/hosts.pp +++ b/manifests/subsystem/hosts.pp @@ -1,5 +1,5 @@ class nodo::subsystem::hosts( - $custom = hiera('nodo::subsystem::hosts::custom', false) + $custom = lookup('nodo::subsystem::hosts::custom', undef, undef, false) ) { # Sometimes might be useful to manage the whole # hosts file, see http://projects.puppetlabs.com/issues/10704 -- cgit v1.2.3