diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-10-11 01:50:14 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-10-11 01:50:14 +0200 |
commit | dd193c02c1a99a60e5dd555a3e768ebdbbc0fe63 (patch) | |
tree | 5dceb4d86ff64edd0efa2dad9d06a98f28f396b0 /manifests/init.pp | |
parent | Include setup code. (diff) | |
download | cgit-dd193c02c1a99a60e5dd555a3e768ebdbbc0fe63.tar.gz cgit-dd193c02c1a99a60e5dd555a3e768ebdbbc0fe63.tar.xz |
Force concat after filter.
Previously, puppet would replace the cgitrc file (leading to invalid
references to filter files), then if a filters source was set to a file
on the same server then it would fail, since the server is currently
broken.
Diffstat (limited to '')
-rw-r--r-- | manifests/init.pp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index a5dd09c..942aee8 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -29,10 +29,12 @@ class cgit ( 'cgit', ], { ensure => installed }) + Cgit::Filter <| |> -> Concat[$cgitrc] concat { $cgitrc: ensure => present, } + concat::fragment { 'cgit config upper half': order => 0, content => epp('cgit/upper.epp'), |