parent
b58607c377
commit
f8c4685456
|
@ -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',
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[logging]
|
||||
log = "file"
|
||||
file = "/var/log/<%= @log %>/<%= @log %>.log"
|
||||
file = "<%= @log %>"
|
||||
level = DEBUG
|
||||
|
||||
[preferences]
|
||||
|
|
Loading…
Reference in New Issue