aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/daemon.pp6
-rw-r--r--manifests/gitweb.pp6
2 files changed, 6 insertions, 6 deletions
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":
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