Commit 90bc9e6f authored by Markus Frosch's avatar Markus Frosch 📣

icingaweb2: Enable doc module

parent c5b611a7
class icinga2_testing::profiles::icingaweb2
{
class icinga2_testing::profiles::icingaweb2 {
include ::icinga2_testing::profiles::apache
class { '::icingaweb2':
......@@ -11,6 +10,13 @@ class icinga2_testing::profiles::icingaweb2
contain ::icingaweb2::mod::monitoring
# TODO: contain ::icingaweb2::mod::doc
file { 'icingaweb2 enable doc':
ensure => link,
path => "${::icingaweb2::config_dir}/enabledModules/doc",
target => "${::icingaweb2::web_root}/modules/doc",
}
create_resources('icinga2_testing::profiles::icingaweb2::backend_group', hiera_hash('icingaweb2::backend_groups', {}))
create_resources('icingaweb2::config::roles', hiera_hash('icingaweb2::roles', {}))
}
\ 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