icingaweb2_dev: change log file path to '/var/log/icingaweb.log'

refs 
This commit is contained in:
Alexander Klimov 2014-09-15 16:17:04 +02:00
parent 72d74c1132
commit 8135ccaa95
2 changed files with 8 additions and 1 deletions
.vagrant-puppet/profiles/icingaweb2_dev
files
manifests

View File

@ -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"

View File

@ -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',