aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/cgit.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/cgit.pp b/manifests/cgit.pp
index 9c1c710..069e356 100644
--- a/manifests/cgit.pp
+++ b/manifests/cgit.pp
@@ -29,4 +29,15 @@ class git::cgit(
ensure => present,
content => template('git/cgitrc.erb'),
}
+
+ file { '/var/git/cgit':
+ ensure => directory,
+ recurse => true,
+ purge => true,
+ force => true,
+ owner => "git",
+ group => "git",
+ source => "puppet:///modules/git/cgit/",
+ require => File['/var/git'],
+ }
}