Commit f2105afc authored by Walter Heck's avatar Walter Heck

Small fixes/updates to make lint happy and remove duplicates

parent 0d3bffae
Pipeline #330 passed with stages
in 2 minutes and 49 seconds
......@@ -12,7 +12,7 @@ class opstheater::profile::icinga::server (
'ZoneName' => 'master',
},
}
class { 'icinga2::feature::idomysql':
host => $icinga2_db_ipaddress,
port => '3306',
......@@ -30,12 +30,12 @@ class opstheater::profile::icinga::server (
accept_commands => true,
# when having multiple masters, you should enable:
# accept_config => true,
endpoints => {
endpoints => {
'master.example.org'=> {},
},
zones => {
'master' => {
'endpoints' => [$icinga2_web_fqdn],
zones => {
'master' => {
'endpoints' => [$icinga2_web_fqdn],
},
'opstheater' => {
'endpoints' => [$icinga2_web_fqdn],
......@@ -44,8 +44,6 @@ class opstheater::profile::icinga::server (
}
}
include icinga2::feature::api
Icinga2::Object::Host <<| |>>
Icinga2::Object::Service <<| |>>
Icinga2::Object::Zone <<| |>>
......
......@@ -212,13 +212,6 @@ class opstheater::profile::icinga::web (
}
} else {
file { '/etc/icingaweb2/groups.ini':
ensure => 'file',
mode => '0770',
owner => 'root',
group => 'icingaweb2',
content => "[icingaweb2]\nresource = \"icingaweb_db\"\nbackend = \"db\"\n",
}
class { 'icingaweb2':
manage_repo => $manage_package_repo,
install_method => 'package',
......
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