aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-03-21 21:31:53 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-03-21 21:31:53 -0300
commit1d388ceb1eb13ed6b8c4fbd333287803233fba4a (patch)
treed54d4057bc362aa65061035ba1812ccdce702338 /manifests
parent153313ac72125d3e3ccc7fb4ffacc7a81a3c5a83 (diff)
downloadpuppet-git-1d388ceb1eb13ed6b8c4fbd333287803233fba4a.tar.gz
puppet-git-1d388ceb1eb13ed6b8c4fbd333287803233fba4a.tar.bz2
Manage cgit web assets
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'],
+ }
}