summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/sudoers2
-rw-r--r--manifests/repo.pp8
2 files changed, 5 insertions, 5 deletions
diff --git a/files/sudoers b/files/sudoers
index 71b8ab8..6236cbf 100644
--- a/files/sudoers
+++ b/files/sudoers
@@ -2,4 +2,4 @@
Cmnd_Alias PUPPETUPDATE = /usr/local/sbin/update-puppet-conf.sh
# User privilege specification
-gitolite ALL=(puppet) NOPASSWD:PUPPETUPDATE
+git ALL=(puppet) NOPASSWD:PUPPETUPDATE
diff --git a/manifests/repo.pp b/manifests/repo.pp
index 30c31dd..1321d1b 100644
--- a/manifests/repo.pp
+++ b/manifests/repo.pp
@@ -9,15 +9,15 @@ class puppet::repo(
exec { "make-puppet-repo":
command => "/bin/sh -c 'mkdir -p /var/git/repositories/puppet.git && cd /var/git/repositories/puppet.git && git --bare init'",
unless => "/bin/sh -c '[ -e /var/git/repositories/puppet.git ]'",
- user => gitolite,
- require => [ User['gitolite'], File['/var/git/repositories'] ],
+ user => git,
+ require => [ User['git'], File['/var/git/repositories'] ],
}
# use a post-update hook
file { '/var/git/repositories/puppet.git/hooks/post-update':
mode => 0750,
- owner => gitolite,
- group => gitolite,
+ owner => git,
+ group => git,
ensure => $method ? {
'cron' => absent,
default => $ensure,