upgraded docker version
Nagios4 manifest changes
This commit is contained in:
parent
e264e33d2e
commit
eee2b2f509
2 changed files with 16 additions and 1 deletions
|
@ -1172,7 +1172,7 @@ web-1.qa.sveidas.se:
|
||||||
log.qa.sveidas.se:
|
log.qa.sveidas.se:
|
||||||
sunet_iaas_cloud:
|
sunet_iaas_cloud:
|
||||||
eid::dockerhost:
|
eid::dockerhost:
|
||||||
version: '5:20.10.6~3-0~ubuntu-bionic'
|
version: 'version: '5:23.0.6-1~ubuntu.20.04~focal''
|
||||||
eid::telegraf:
|
eid::telegraf:
|
||||||
ports: ['127.0.0.1:9999:9999']
|
ports: ['127.0.0.1:9999:9999']
|
||||||
sunet::fticks:
|
sunet::fticks:
|
||||||
|
|
|
@ -36,6 +36,21 @@ class eid::nagios_monitor {
|
||||||
enable => true,
|
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 {
|
file {
|
||||||
'/root/MONITOR_WEB_PASSWORD':
|
'/root/MONITOR_WEB_PASSWORD':
|
||||||
content => sprintf("%s\n%s\n", $web_admin_user, $web_admin_pw),
|
content => sprintf("%s\n%s\n", $web_admin_user, $web_admin_pw),
|
||||||
|
|
Loading…
Add table
Reference in a new issue