Profile `icingaweb2_dev': add config file 'config.ini'

refs #6842
This commit is contained in:
Alexander Klimov 2014-09-09 16:27:26 +02:00
parent 0fbe072747
commit 07c4591499
2 changed files with 26 additions and 7 deletions

View File

@ -0,0 +1,25 @@
[logging]
enable = true
; Writing to a Stream
type = "file"
; Write data to the following file
target = "/vagrant/var/log/icingaweb.log"
; Write data to a PHP stream
;target = "php://output"
; Writing to the System Log
;type = "syslog"
; Prefix all syslog messages generated with the string "icingaweb"
;application = "icingaweb"
;facility = "LOG_USER"
level = 3
; The default level is DEBUG, which means that only events of this level and
; above will be tracked. Level numbers descend in order of importance where
; ERROR (0) is the most important level and DEBUG (3) is the least important
; level:
;
; ERROR = 0 - Error: error conditions
; WARNING = 1 - Warning: warning conditions
; INFO = 2 - Informational: informational messages
; DEBUG = 3 - Debug: debug messages

View File

@ -32,12 +32,6 @@ class icingaweb2_dev {
$cfgpath = '/etc/icingaweb'
file { "${cfgpath}/config.ini":
ensure => file,
owner => 'apache',
group => 'apache',
}
file { [
"${cfgpath}",
"${cfgpath}/enabledModules",
@ -54,7 +48,7 @@ class icingaweb2_dev {
source => 'puppet:///modules/icingaweb2_dev',
}
icingaweb2::config { 'resources':
icingaweb2::config { [ 'resources', 'config' ]:
source => 'puppet:///modules/icingaweb2_dev',
replace => false,
}