upgraded docker version

Nagios4 manifest changes
This commit is contained in:
Maria Haider 2023-05-10 13:29:25 +02:00
parent e264e33d2e
commit eee2b2f509
Signed by: mariah
GPG key ID: 7414A760CA747E57
2 changed files with 16 additions and 1 deletions

View file

@ -1172,7 +1172,7 @@ web-1.qa.sveidas.se:
log.qa.sveidas.se:
sunet_iaas_cloud:
eid::dockerhost:
version: '5:20.10.6~3-0~ubuntu-bionic'
version: 'version: '5:23.0.6-1~ubuntu.20.04~focal''
eid::telegraf:
ports: ['127.0.0.1:9999:9999']
sunet::fticks:

View file

@ -36,6 +36,21 @@ class eid::nagios_monitor {
enable => true,
}
exec { 'a2enconf nagios4-cgi.conf':
creates => '/etc/apache2/conf-enabled/nagios4-cgi.conf',
notify => Service['apache2'],
}
file { '/etc/apache2/conf-enabled/nagios4-cgi.conf':
ensure => link,
}
exec { 'a2enmod auth_digest authz_groupfile':
subscribe => File['/etc/apache2/conf-enabled/nagios4-cgi.conf'],
refreshonly => true,
notify => Service['apache2'],
}
file {
'/root/MONITOR_WEB_PASSWORD':
content => sprintf("%s\n%s\n", $web_admin_user, $web_admin_pw),