]> gitweb.fluxo.info Git - puppet-git.git/commitdiff
Cleanup
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 2 Sep 2013 00:14:08 +0000 (21:14 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 2 Sep 2013 00:14:08 +0000 (21:14 -0300)
manifests/gitolite.pp

index c47aef4655b020e870c76620a5494d870cddf946..01e0f3ea257f0d72e66c0afe8a2d64ceed388a39 100644 (file)
@@ -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,