]> gitweb.fluxo.info Git - puppet-puppet.git/commitdiff
Moving 'puppet::update::method' hiera call to puppet::repo
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 28 Aug 2014 17:27:57 +0000 (14:27 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 28 Aug 2014 17:27:57 +0000 (14:27 -0300)
manifests/repo.pp
manifests/repo/update.pp

index 4826737f62ffa98b4366beb7e13a1109d3753055..a9ebd4f8aa79ab9d21983da99ca1f5de592fa3d3 100644 (file)
@@ -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
 
index 6dc42542aa20bd1144488ad84e0bc77aeddf7be3..7cb406be6aa277d809ed6271f3752069762a8e66 100644 (file)
@@ -1,6 +1,6 @@
 class puppet::repo::update(
   $ensure  = present,
-  $method  = hiera('puppet::update::method', 'cron')
+  $method  = 'cron',
 ) {
   class { 'puppet::repo':
     method => $method,