Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
immerda
Puppet Modules
webhosting
Commits
a17066e8
Commit
a17066e8
authored
Apr 13, 2020
by
mh
Browse files
make sure we copy what we had before
parent
54ae9ff1
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifests/common.pp
View file @
a17066e8
...
...
@@ -227,7 +227,7 @@ define webhosting::common(
default
=>
'401'
}
nagios::service::http
{
$name
:
$default_nagios_vals
=
{
ensure
=>
$nagios_ensure
,
check_domain
=>
$nagios_check_domain
,
ssl_mode
=>
$ssl_mode
,
...
...
@@ -235,11 +235,15 @@ define webhosting::common(
use
=>
$nagios_use
,
check_code
=>
$real_nagios_check_code
,
}
nagios::service::http
{
$name
:
*
=>
$default_nagios_vals
,
}
if
'additional_nagios_checks'
in
$configuration
{
$configuration
[
'additional_nagios_checks'
]
.
each
|
$n
,
$values
|
{
nagios::service::http
{
"
${name}
-
${n}
"
:
*
=>
$values
,
*
=>
$default_nagios_vals
+
$values
,
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment