aboutsummaryrefslogtreecommitdiff
path: root/manifests/gitweb.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-05-07 20:57:13 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-05-07 20:57:13 -0300
commit85ddd696219533b6155164498f97f48753d9b648 (patch)
tree339d0debf1bb014b472fd033806c842d99a87c37 /manifests/gitweb.pp
parenta74a3f1a0a1cf0f2aaa7c20ecc29fa1875467473 (diff)
downloadpuppet-git-85ddd696219533b6155164498f97f48753d9b648.tar.gz
puppet-git-85ddd696219533b6155164498f97f48753d9b648.tar.bz2
Hiera 5 migration
Diffstat (limited to 'manifests/gitweb.pp')
-rw-r--r--manifests/gitweb.pp6
1 files changed, 3 insertions, 3 deletions
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