summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2014-08-28 13:58:47 -0300
committerdrebs <drebs@riseup.net>2014-08-28 13:58:47 -0300
commitb2ffc501bbb68d261639465dc9979e42df2bfa98 (patch)
tree5a5176e83390cadcf6368ce07ac0ccdc1a1f9f24
parentfc225b5c10f140a66b21e88fa64942bf179be549 (diff)
downloadpuppet-puppet-b2ffc501bbb68d261639465dc9979e42df2bfa98.tar.gz
puppet-puppet-b2ffc501bbb68d261639465dc9979e42df2bfa98.tar.bz2
Fix ensure of files in pupper repo.
-rw-r--r--manifests/repo.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/repo.pp b/manifests/repo.pp
index 9a22e97..4826737 100644
--- a/manifests/repo.pp
+++ b/manifests/repo.pp
@@ -19,8 +19,8 @@ class puppet::repo(
owner => gitolite,
group => gitolite,
ensure => $method ? {
- 'cron' => $ensure,
- default => present,
+ 'cron' => present,
+ default => $ensure,
},
source => "puppet:///modules/puppet/post-update.sh",
require => Exec['make-puppet-repo'],
@@ -32,8 +32,8 @@ class puppet::repo(
group => root,
mode => 0440,
ensure => $method ? {
- 'cron' => $ensure,
- default => present,
+ 'cron' => present,
+ default => $ensure,
},
source => "puppet:///modules/puppet/sudoers",
require => Package['sudo'],