From 342bea076645469ba94efd59048d3a0f0f50e484 Mon Sep 17 00:00:00 2001 From: Alan Jenkins Date: Sun, 18 Jun 2017 16:13:35 +0100 Subject: [PATCH] Fix examples/init_confd.pp > confd > > This is the directory where Icinga 2 stores it's object configuration by default. To disable this, set the parameter to false. It's also possible to assign your own directory. This directory is relative to etc/icinga2 and **must be managed outside of this module as file resource with tag icinga2::config::file**. Also fix the path, I'm pretty sure it's supposed to match `confd`. I don't use puppet and haven't tested this myself. --- examples/init_confd.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/init_confd.pp b/examples/init_confd.pp index e06bbb5f8..89376363a 100644 --- a/examples/init_confd.pp +++ b/examples/init_confd.pp @@ -3,6 +3,7 @@ confd => '/etc/icinga/local.d', } -file { '/etc/icinga2/conf.d/local.d': +file { '/etc/icinga2/local.d': ensure => directory, + tag => 'icinga2::config::file', }