summaryrefslogtreecommitdiff
path: root/manifests/filter_setup.pp
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-10-11 01:20:53 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-10-11 01:20:53 +0200
commite738981089accbfb39bad1cb313281d966c07ed7 (patch)
tree1ddaa05a1c9a60a785719e09a6bd7aca3f0548c7 /manifests/filter_setup.pp
parentRe-flow metadata.json. (diff)
downloadcgit-e738981089accbfb39bad1cb313281d966c07ed7.tar.gz
cgit-e738981089accbfb39bad1cb313281d966c07ed7.tar.xz
Rewrote filter system.
Diffstat (limited to '')
-rw-r--r--manifests/filter_setup.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/filter_setup.pp b/manifests/filter_setup.pp
new file mode 100644
index 0000000..8f42537
--- /dev/null
+++ b/manifests/filter_setup.pp
@@ -0,0 +1,11 @@
+class cgit::filter_setup (
+ String $filterpath = $::cgit::filterpath,
+) {
+ file { dirname($filterpath):
+ ensure => directory,
+ }
+
+ file { $filterpath:
+ ensure => directory,
+ }
+}