Skip to content

Commit

Permalink
Fix examples/init_confd.pp
Browse files Browse the repository at this point in the history
> 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.
  • Loading branch information
sourcejedi authored Jun 18, 2017
1 parent a81bb8e commit 342bea0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/init_confd.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}

0 comments on commit 342bea0

Please sign in to comment.