829c22d1cd
Signed-off-by: Nick Chappell <nick@intronic.org>
12 lines
282 B
Puppet
12 lines
282 B
Puppet
# Enable Features for Icinga 2
|
|
class icinga2::server::features (
|
|
$features = ['checker', 'notification', 'maillog'],
|
|
) {
|
|
|
|
# Do some checking
|
|
validate_array($features)
|
|
|
|
# Pass the features arry to the define to loop though
|
|
icinga::server::feature::enable { $features: }
|
|
|
|
}
|