From: Silvio Rhatto Date: Thu, 28 Aug 2014 17:27:57 +0000 (-0300) Subject: Moving 'puppet::update::method' hiera call to puppet::repo X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=2a1a535fe6db6a8528062c61d69a3730242884b3;p=puppet-puppet.git Moving 'puppet::update::method' hiera call to puppet::repo --- 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,