From 98b62d54fb5935e89e67103f0805101974b58d3e Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 1 Sep 2013 21:14:08 -0300 Subject: Cleanup --- manifests/gitolite.pp | 13 +------------ 1 file changed, 1 insertion(+), 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, -- cgit v1.2.3