From 80c7666d31908044d1804f660623131657653e98 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 8 Sep 2025 20:37:00 -0300 Subject: Feat: parametrize additional options --- manifests/cgit.pp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'manifests/cgit.pp') diff --git a/manifests/cgit.pp b/manifests/cgit.pp index 3efcc1e..f1d12e2 100644 --- a/manifests/cgit.pp +++ b/manifests/cgit.pp @@ -13,6 +13,13 @@ class git::cgit( $cache_size = '0', $cache_snapshot_ttl = '5', $cache_static_ttl = '-1', + $enable_git_clone = '1', + $enable_http_clone = '1', + $enable_index_links = '1', + $source_filter = '/usr/lib/cgit/filters/syntax_highlighting.py', + $about_filter = '/usr/lib/cgit/filters/about_formatting.sh', + $enable_git_config = '1', + $remove_suffix = '1', ) { package { 'cgit': ensure => $::lsbdistcodename ? { -- cgit v1.2.3