Commit caa10569 authored by mh's avatar mh
Browse files

make it optional and by default not set

parent 79d75220
......@@ -27,7 +27,7 @@ define webhosting::common (
Variant[Enum['absent'], Array[String[1]]] $user_scripts = 'absent',
$user_scripts_options = {},
$nagios_check = 'ensure',
Variant[String,Array[String]] $nagios_check_domain = 'absent',
Optional[Variant[String,Array[String]]] $nagios_check_domain = undef,
$nagios_check_url = '/',
$nagios_check_code = '200',
$nagios_use = 'generic-service',
......
......@@ -36,7 +36,7 @@ define webhosting::container (
$vhost_destination = 'absent',
$htpasswd_file = 'absent',
$nagios_check = 'ensure',
$nagios_check_domain = 'absent',
$nagios_check_domain = undef,
$nagios_check_url = '/',
$nagios_check_code = '200',
$nagios_use = 'generic-service',
......
......@@ -45,7 +45,7 @@ define webhosting::passenger (
$vhost_destination = 'absent',
$htpasswd_file = 'absent',
$nagios_check = 'ensure',
$nagios_check_domain = 'absent',
$nagios_check_domain = undef,
$nagios_check_url = '/',
$nagios_check_code = '200',
$nagios_use = 'generic-service',
......
......@@ -55,7 +55,7 @@ define webhosting::php (
$htpasswd_file = 'absent',
$htpasswd_path = 'absent',
$nagios_check = 'ensure',
$nagios_check_domain = 'absent',
$nagios_check_domain = undef,
$nagios_check_url = '/',
$nagios_check_code = '200',
$nagios_use = 'generic-service',
......
......@@ -52,7 +52,7 @@ define webhosting::php::drupal (
$vhost_destination = 'absent',
$htpasswd_file = 'absent',
$nagios_check = 'ensure',
$nagios_check_domain = 'absent',
$nagios_check_domain = undef,
$nagios_check_url = '/',
$nagios_check_code = '200',
$nagios_use = 'generic-service',
......
......@@ -52,7 +52,7 @@ define webhosting::php::joomla (
$template_partial = 'absent',
$htpasswd_file = 'absent',
$nagios_check = 'ensure',
$nagios_check_domain = 'absent',
$nagios_check_domain = undef,
$nagios_check_url = '/',
$nagios_check_code = '200',
$nagios_use = 'generic-service',
......
......@@ -47,7 +47,7 @@ define webhosting::php::mediawiki (
$vhost_destination = 'absent',
$htpasswd_file = 'absent',
$nagios_check = 'ensure',
$nagios_check_domain = 'absent',
$nagios_check_domain = undef,
$nagios_check_url = '/',
$nagios_check_code = '200',
$nagios_use = 'generic-service',
......
......@@ -52,7 +52,7 @@ define webhosting::php::simplemachine (
$vhost_destination = 'absent',
$htpasswd_file = 'absent',
$nagios_check = 'ensure',
$nagios_check_domain = 'absent',
$nagios_check_domain = undef,
$nagios_check_url = '/',
$nagios_check_code = '200',
$nagios_use = 'generic-service',
......
......@@ -51,7 +51,7 @@ define webhosting::php::spip (
$vhost_destination = 'absent',
$htpasswd_file = 'absent',
$nagios_check = 'ensure',
$nagios_check_domain = 'absent',
$nagios_check_domain = undef,
$nagios_check_url = '/',
$nagios_check_code = '200',
$nagios_use = 'generic-service',
......
......@@ -51,7 +51,7 @@ define webhosting::php::wordpress (
$vhost_destination = 'absent',
$htpasswd_file = 'absent',
$nagios_check = 'ensure',
$nagios_check_domain = 'absent',
$nagios_check_domain = undef,
$nagios_check_url = '/',
$nagios_check_code = '200,301',
$nagios_use = 'generic-service',
......
......@@ -35,7 +35,7 @@ define webhosting::static (
$vhost_destination = 'absent',
$htpasswd_file = 'absent',
$nagios_check = 'ensure',
$nagios_check_domain = 'absent',
$nagios_check_domain = undef,
$nagios_check_url = '/',
$nagios_check_code = '200',
$nagios_use = 'generic-service',
......
......@@ -44,7 +44,7 @@ define webhosting::wsgi (
$vhost_destination = 'absent',
$htpasswd_file = 'absent',
$nagios_check = 'ensure',
$nagios_check_domain = 'absent',
$nagios_check_domain = undef,
$nagios_check_url = '/',
$nagios_check_code = '200',
$nagios_use = 'generic-service',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment