Commit dac79795 authored by Walter Heck's avatar Walter Heck

fix icinga password problems

parent dedc8411
Pipeline #343 failed with stages
in 2 minutes and 17 seconds
......@@ -119,7 +119,7 @@
# Variable: opstheater::icinga::ido_password
# Description:
# Default value: "password"
'opstheater::icinga::ido_password': "password"
'opstheater::icinga::ido_password': 'OpsTheaterIcingaPassWord'
# Variable: opstheater::icingaweb::fqdn
# Description:
......@@ -144,7 +144,7 @@
# Variable: opstheater::icingaweb::webdb_password
# Description:
# Default value: "password"
'opstheater::icingaweb::webdb_password': "password"
'opstheater::icingaweb::webdb_password': 'OpsTheaterIcingaPassWord'
'opstheater::icingaweb::ldap::auth_base_dn': "%{hiera('opstheater::ldap::base_dn')}"
'opstheater::icingaweb::ldap::auth_filter': '!(objectClass=computer)'
......
class opstheater::profile::icinga::server (
$icinga2_db_ipaddress = hiera('opstheater::icinga::mysql_ipaddress'),
$icinga2_web_fqdn = hiera('opstheater::icingaweb::fqdn'),
$icinga2_ido_password = hiera('opstheater::icinga::ido_password'),
String $icinga2_db_ipaddress = hiera('opstheater::icinga::mysql_ipaddress'),
String $icinga2_web_fqdn = hiera('opstheater::icingaweb::fqdn'),
String $icinga2_ido_password = hiera('opstheater::icinga::ido_password'),
) inherits opstheater::profile::params {
class { 'icinga2':
......@@ -18,7 +18,7 @@ class opstheater::profile::icinga::server (
port => '3306',
database => 'icinga2_data',
user => 'icinga2',
password => $icinga2_ido_password,
password => "$icinga2_ido_password",
import_schema => true,
}
......
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