blob: 963eb70560a49696cdc5a9d002ee212f4b5a5cbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# remove leftovers on webapp nodes
class site_config::remove::webapp {
tidy {
'/etc/apache/sites-enabled/leap_webapp.conf':
notify => Service['apache'];
}
# Ensure haproxy is removed
package { 'haproxy':
ensure => purged,
}
augeas { 'haproxy':
incl => '/etc/check_mk/mrpe.cfg',
lens => 'Spacevars.lns',
changes => [ 'rm /files/etc/check_mk/mrpe.cfg/Haproxy' ],
require => File['/etc/check_mk/mrpe.cfg'];
}
}
|