summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/repo.pp2
-rw-r--r--manifests/repo/update.pp2
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/repo.pp b/manifests/repo.pp
index 4826737..a9ebd4f 100644
--- a/manifests/repo.pp
+++ b/manifests/repo.pp
@@ -1,7 +1,7 @@
# manage a git repo that updates /etc/puppet
class puppet::repo(
$ensure = present,
- $method = 'cron',
+ $method = hiera('puppet::update::method', 'cron')
) {
include puppet
diff --git a/manifests/repo/update.pp b/manifests/repo/update.pp
index 6dc4254..7cb406b 100644
--- a/manifests/repo/update.pp
+++ b/manifests/repo/update.pp
@@ -1,6 +1,6 @@
class puppet::repo::update(
$ensure = present,
- $method = hiera('puppet::update::method', 'cron')
+ $method = 'cron',
) {
class { 'puppet::repo':
method => $method,