From ac1951dbd2fa9d28d0dbfcf81d7432768c4614e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 11 Oct 2022 01:37:14 +0200 Subject: general cleanup. --- manifests/init.pp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'manifests/init.pp') diff --git a/manifests/init.pp b/manifests/init.pp index 451efe0..a5dd09c 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,14 +1,14 @@ class cgit ( - String $root = '/var/www/cgit', - String $filterpath = '/usr/lib/cgit/puppet-controlled-filters', String $root_title, String $root_desc, + String $scan_path, + Array[String] $clone_url, + String $root = '/var/www/cgit', + String $filterpath = '/usr/lib/cgit/puppet-controlled-filters', String $root_readme_source = "puppet:///modules/${module_name}/root_readme", Optional[String] $root_readme_content = undef, Optional[String] $root_readme_sha256 = undef, String $root_readme_extension = '', - String $scan_path, - Array[String] $clone_url, Boolean $enable_http_clone = false, Array[String] $public_repos = [], Array[Struct[{ @@ -40,7 +40,7 @@ class cgit ( } concat::fragment { 'cgit config lower half': - order => 99, + order => 99, content => epp('cgit/lower.epp'), target => $::cgit::cgitrc, } @@ -94,9 +94,10 @@ class cgit ( } case $manage_server { - false: {} 'nginx': { include ::cgit::nginx } + default: { + } } } -- cgit v1.2.3