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/udev/network.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests/subsystem/udev') diff --git a/manifests/subsystem/udev/network.pp b/manifests/subsystem/udev/network.pp index 2e42519..734c025 100644 --- a/manifests/subsystem/udev/network.pp +++ b/manifests/subsystem/udev/network.pp @@ -1,5 +1,5 @@ class nodo::subsystem::udev::network { - $role = hiera('nodo::role', 'default') + $role = lookup('nodo::role', undef, undef, 'default') file { '/etc/udev/rules.d/70-persistent-net.rules': ensure => present, -- cgit v1.2.3