diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-01-15 12:13:32 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-01-15 12:27:55 +0100 |
commit | 7f17e3abfb0028127027db2d9424257a90d97384 (patch) | |
tree | c023e66a8b9447984b3c14750874bea6537215a1 /manifests/filter.pp | |
parent | Make project into pdk module. (diff) | |
download | cgit-7f17e3abfb0028127027db2d9424257a90d97384.tar.gz cgit-7f17e3abfb0028127027db2d9424257a90d97384.tar.xz |
Document classes.
Diffstat (limited to '')
-rw-r--r-- | manifests/filter.pp | 11 |
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, |