aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-09-01 21:14:08 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-09-01 21:14:08 -0300
commit98b62d54fb5935e89e67103f0805101974b58d3e (patch)
tree81772a300dd9d0ebaeac155bb61f38d20d540a92
parent91b99ab809eb7c9d9e3649235f32358074ff2830 (diff)
downloadpuppet-git-98b62d54fb5935e89e67103f0805101974b58d3e.tar.gz
puppet-git-98b62d54fb5935e89e67103f0805101974b58d3e.tar.bz2
Cleanup
-rw-r--r--manifests/gitolite.pp13
1 files changed, 1 insertions, 12 deletions
diff --git a/manifests/gitolite.pp b/manifests/gitolite.pp
index c47aef4..01e0f3e 100644
--- a/manifests/gitolite.pp
+++ b/manifests/gitolite.pp
@@ -112,7 +112,7 @@ class gitolite inherits git {
# wheezy onwards
# http://git-annex.branchable.com/tips/using_gitolite_with_git-annex/
- file { '/var/git/adc':
+ file { [ '/var/git/adc', '/var/git/adc/ua' ]:
ensure => $::lsbdistcodename ? {
'squeeze' => absent,
default => directory,
@@ -123,17 +123,6 @@ class gitolite inherits git {
require => File['/var/git'],
}
- file { '/var/git/adc/ua:
- ensure => $::lsbdistcodename ? {
- 'squeeze' => absent,
- default => directory,
- },
- owner => gitolite,
- group => gitolite,
- mode => 0755,
- require => File['/var/git/adc'],
- }
-
exec { 'git-annex-shell-copier':
command => 'cp /usr/share/doc/gitolite/examples/adc/git-annex-shell /var/git/adc/ua/git-annex-shell',
user => root,