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/daemon.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'manifests/daemon.pp') diff --git a/manifests/daemon.pp b/manifests/daemon.pp index cdb8639..40ca0b8 100644 --- a/manifests/daemon.pp +++ b/manifests/daemon.pp @@ -1,7 +1,7 @@ class git::daemon ( - $implementation = hiera('git::daemon::implementation', 'gitolite'), - $inetd = hiera('git::daemon::inetd', true), - $groups = hiera('git::daemon::groups', [ 'puppet' ]), + $implementation = lookup('git::daemon::implementation', undef, undef, 'gitolite'), + $inetd = lookup('git::daemon::inetd', undef, undef, true), + $groups = lookup('git::daemon::groups', undef, undef, [ 'puppet' ]), ) { # directory for git user and repositories file { "/var/git": -- cgit v1.2.3