summaryrefslogtreecommitdiff
path: root/manifests/filter.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/filter.pp')
-rw-r--r--manifests/filter.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/filter.pp b/manifests/filter.pp
index bcba582..1c092f1 100644
--- a/manifests/filter.pp
+++ b/manifests/filter.pp
@@ -1,3 +1,14 @@
+# @summary Manages a single cgit filter.
+# @param filtername
+# Target filter.
+# @param source
+# Soruce file of filter, mutually exclusive with content.
+# @param content
+# Contents of filter, mutually exclusive with source.
+# @param file_props
+# Passed along to the file resource. Useful for checksums.
+# @param type
+# If it's a lua or exec filter. Inferred from source filename.
define cgit::filter (
Cgit::Filter_types $filtername = $name,
Optional[Variant[String, Array[String]]] $source = undef,