aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-09-01 20:58:49 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-09-01 20:58:49 -0300
commitbf5d44cce613be5bb8c2496a4a62c6171066c116 (patch)
tree06b074d3737170b9dad177a7e979292c2f689597
parent9ed21ab9b097b4f133620bfe3ef69ce3c3410a0b (diff)
downloadpuppet-git-bf5d44cce613be5bb8c2496a4a62c6171066c116.tar.gz
puppet-git-bf5d44cce613be5bb8c2496a4a62c6171066c116.tar.bz2
Be more explicit about dependencies
-rw-r--r--manifests/gitolite.pp13
1 files changed, 12 insertions, 1 deletions
diff --git a/manifests/gitolite.pp b/manifests/gitolite.pp
index 01e0f3e..c47aef4 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', '/var/git/adc/ua' ]:
+ file { '/var/git/adc':
ensure => $::lsbdistcodename ? {
'squeeze' => absent,
default => directory,
@@ -123,6 +123,17 @@ 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,