Added a directory resource for /etc/icinga2/features-enabled.

This commit is contained in:
Nick Chappell 2014-07-05 15:47:04 -07:00
parent 6489063193
commit 414849941d

View file

@ -44,7 +44,7 @@ class icinga2::server::config inherits icinga2::server {
mode => $etc_icinga2_confd_mode,
}
#Directory resource for /etc/icinga2/features-available/
#Directory resource for /etc/icinga2/features-available/:
file { '/etc/icinga2/features-available/':
path => '/etc/icinga2/features-available/',
ensure => directory,
@ -53,4 +53,13 @@ class icinga2::server::config inherits icinga2::server {
mode => $etc_icinga2_features_available_mode,
}
#Directory resource for /etc/icinga2/features-enabled/:
file { '/etc/icinga2/features-enabled/':
path => '/etc/icinga2/features-enabled/',
ensure => directory,
owner => $etc_icinga2_features_enabled_owner,
group => $etc_icinga2_features_enabled_group,
mode => $etc_icinga2_features_enabled_mode,
}
}