bde5178ed1
refs#7916 : https://dev.icinga.org/issues/7916
10 строки
395 Б
Puppet
10 строки
395 Б
Puppet
# Disable Icinga 2 Features/Modules
|
|
define icinga2::server::features::disable () {
|
|
exec { "icinga2 disable feature ${name}":
|
|
user => 'root',
|
|
path => '/usr/bin:/usr/sbin:/bin/:/sbin',
|
|
command => "/usr/sbin/icinga2 feature disable ${name}",
|
|
unless => "[ ! -f /etc/icinga2/features-enabled/${name}.conf ]",
|
|
require => Class['icinga2::server::install::packages'],
|
|
}
|
|
}
|