diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-03-21 21:31:53 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-03-21 21:31:53 -0300 |
commit | 1d388ceb1eb13ed6b8c4fbd333287803233fba4a (patch) | |
tree | d54d4057bc362aa65061035ba1812ccdce702338 /manifests | |
parent | 153313ac72125d3e3ccc7fb4ffacc7a81a3c5a83 (diff) | |
download | puppet-git-1d388ceb1eb13ed6b8c4fbd333287803233fba4a.tar.gz puppet-git-1d388ceb1eb13ed6b8c4fbd333287803233fba4a.tar.bz2 |
Manage cgit web assets
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/cgit.pp | 11 |
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'], + } } |