icingaweb2_dev: change log file path to '/var/log/icingaweb.log'
refs #6842
This commit is contained in:
parent
72d74c1132
commit
8135ccaa95
.vagrant-puppet/profiles/icingaweb2_dev
|
@ -3,7 +3,7 @@ enable = true
|
|||
; Writing to a Stream
|
||||
type = "file"
|
||||
; Write data to the following file
|
||||
target = "/vagrant/var/log/icingaweb.log"
|
||||
target = "/var/log/icingaweb.log"
|
||||
; Write data to a PHP stream
|
||||
;target = "php://output"
|
||||
|
||||
|
|
|
@ -40,6 +40,13 @@ class icingaweb2_dev {
|
|||
notify => Service['apache'],
|
||||
}
|
||||
|
||||
file { '/var/log/icingaweb.log':
|
||||
ensure => file,
|
||||
owner => 'apache',
|
||||
group => 'apache',
|
||||
require => Class['apache'],
|
||||
}
|
||||
|
||||
mysql::database::populate { 'icingaweb':
|
||||
username => 'icingaweb',
|
||||
password => 'icingaweb',
|
||||
|
|
Loading…
Reference in New Issue