From 85ddd696219533b6155164498f97f48753d9b648 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 7 May 2020 20:57:13 -0300 Subject: Hiera 5 migration --- manifests/gitweb.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'manifests/gitweb.pp') diff --git a/manifests/gitweb.pp b/manifests/gitweb.pp index d546349..1d670be 100644 --- a/manifests/gitweb.pp +++ b/manifests/gitweb.pp @@ -1,9 +1,9 @@ # This class handles a gitweb installation. class git::gitweb( - $protocol = hiera('git::web::protocol', 'git'), - $hosting_domain = hiera('apache::site::domain', $::domain), - $implementation = hiera('git::daemon::implementation', 'gitolite') + $protocol = lookup('git::web::protocol', undef, undef, 'git'), + $hosting_domain = lookup('apache::site::domain', undef, undef, $::domain), + $implementation = lookup('git::daemon::implementation', undef, undef, 'gitolite') ) { # the needed packages -- cgit v1.2.3