From 82a3cf983c715a935d6596837698dd2d204a7175 Mon Sep 17 00:00:00 2001 From: Nick Chappell Date: Sat, 5 Jul 2014 15:24:13 -0700 Subject: [PATCH] Added a directory resource for /etc/icinga2/. --- manifests/server/config.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/manifests/server/config.pp b/manifests/server/config.pp index fbdeb4b..75fc0a5 100644 --- a/manifests/server/config.pp +++ b/manifests/server/config.pp @@ -14,5 +14,16 @@ class icinga2::server::config inherits icinga2::server { include icinga2::params + #Directory resource for /etc/icinga2/ + file { '/etc/icinga2/': + path => '/etc/icinga2/', + ensure => directory, + owner => $etc_icinga2_owner, + group => $etc_icinga2_group, + mode => $etc_icinga2_mode, + #require => Package[$icinga2::params::icinga2_server_packages], + } + + } \ No newline at end of file