summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp13
1 files changed, 7 insertions, 6 deletions
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: {
+ }
}
}