From dd193c02c1a99a60e5dd555a3e768ebdbbc0fe63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 11 Oct 2022 01:50:14 +0200 Subject: 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. --- manifests/init.pp | 2 ++ 1 file changed, 2 insertions(+) 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'), -- cgit v1.2.3