puppet: Fix Icinga Web 2's logging configuration

refs #6842
This commit is contained in:
Eric Lippmann 2014-12-15 11:44:19 +01:00
parent b58607c377
commit f8c4685456
2 changed files with 3 additions and 2 deletions

View File

@ -46,7 +46,8 @@ class icingaweb2_dev (
User <| alias == apache |> { groups +> 'icingacmd' }
file { "${log}":
$log_dir = inline_template('<%= File.dirname(@log) %>')
file { $log_dir:
ensure => directory,
owner => 'root',
group => 'icingaweb',

View File

@ -1,6 +1,6 @@
[logging]
log = "file"
file = "/var/log/<%= @log %>/<%= @log %>.log"
file = "<%= @log %>"
level = DEBUG
[preferences]