mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 00:04:04 +02:00
parent
0fbe072747
commit
07c4591499
@ -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
|
@ -32,12 +32,6 @@ class icingaweb2_dev {
|
|||||||
|
|
||||||
$cfgpath = '/etc/icingaweb'
|
$cfgpath = '/etc/icingaweb'
|
||||||
|
|
||||||
file { "${cfgpath}/config.ini":
|
|
||||||
ensure => file,
|
|
||||||
owner => 'apache',
|
|
||||||
group => 'apache',
|
|
||||||
}
|
|
||||||
|
|
||||||
file { [
|
file { [
|
||||||
"${cfgpath}",
|
"${cfgpath}",
|
||||||
"${cfgpath}/enabledModules",
|
"${cfgpath}/enabledModules",
|
||||||
@ -54,7 +48,7 @@ class icingaweb2_dev {
|
|||||||
source => 'puppet:///modules/icingaweb2_dev',
|
source => 'puppet:///modules/icingaweb2_dev',
|
||||||
}
|
}
|
||||||
|
|
||||||
icingaweb2::config { 'resources':
|
icingaweb2::config { [ 'resources', 'config' ]:
|
||||||
source => 'puppet:///modules/icingaweb2_dev',
|
source => 'puppet:///modules/icingaweb2_dev',
|
||||||
replace => false,
|
replace => false,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user