Commit 8e1565ec authored by Markus Frosch's avatar Markus Frosch 📣

master: Make debug optional

parent 55b359ca
Pipeline #206 passed with stage
in 46 seconds
class icinga2_testing::roles::master(
class icinga2_testing::roles::master (
$database = 'mysql',
$debug = true,
) {
validate_re($database, '^(mysql|pgsql)$', "Unsupported database type: ${database}")
......@@ -15,5 +16,7 @@ class icinga2_testing::roles::master(
contain ::icinga2_testing::profiles::icingaweb2
contain ::icinga2_testing::profiles::debug
if $debug {
contain ::icinga2_testing::profiles::debug
}
}
\ No newline at end of file
Markdown is supported
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