]> gitweb.fluxo.info Git - puppet-git.git/commitdiff
Fix: use package defaults
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 8 Sep 2025 16:34:13 +0000 (13:34 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 8 Sep 2025 16:34:13 +0000 (13:34 -0300)
manifests/cgit.pp

index 45558ac724ace19e534aceceb4eab898cc9f7596..3efcc1e9369ee64a98d8fcc3e7c5c6885fd55350 100644 (file)
@@ -4,15 +4,15 @@ class git::cgit(
   $root_title         = 'Git Repository Browser',
   $root_desc          = 'a fast webinterface for the git dscm',
   $clone_url          = 'https://$HTTP_HOST$SCRIPT_NAME/$CGIT_REPO_URL git://$HTTP_HOST$SCRIPT_NAME/$CGIT_REPO_URL git@$HTTP_HOST:$CGIT_REPO_URL',
-  $cache_about_ttl    = '30',
-  $cache_dynamic_ttl  = '30',
-  $cache_repo_ttl     = '120',
+  $cache_about_ttl    = '15',
+  $cache_dynamic_ttl  = '5',
+  $cache_repo_ttl     = '5',
   $cache_root         = '/var/cache/cgit',
-  $cache_root_ttl     = '60',
-  $cache_scanrc_ttl   = '60',
-  $cache_size         = '20000',
-  $cache_snapshot_ttl = '60',
-  $cache_static_ttl   = '86400',
+  $cache_root_ttl     = '5',
+  $cache_scanrc_ttl   = '5',
+  $cache_size         = '0',
+  $cache_snapshot_ttl = '5',
+  $cache_static_ttl   = '-1',
 ) {
   package { 'cgit':
     ensure  => $::lsbdistcodename ? {