summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-10-11 01:50:14 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-10-11 01:50:14 +0200
commitdd193c02c1a99a60e5dd555a3e768ebdbbc0fe63 (patch)
tree5dceb4d86ff64edd0efa2dad9d06a98f28f396b0
parentInclude setup code. (diff)
downloadcgit-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.
-rw-r--r--manifests/init.pp2
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'),