mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
icingaweb2::config::general: require File[icingaweb2cfgDir] (from Class[icingaweb2])
refs #6842
This commit is contained in:
parent
b6671c84fd
commit
d7a0be72e2
@ -1,11 +1,13 @@
|
||||
define icingaweb2::config::general ($source, $replace = true) {
|
||||
include apache
|
||||
include icingaweb2
|
||||
|
||||
$path = "/etc/icingaweb/${name}.ini"
|
||||
|
||||
parent_dirs { $path: }
|
||||
|
||||
file { $path:
|
||||
parent_dirs { $path:
|
||||
require => File['icingaweb2cfgDir'],
|
||||
}
|
||||
-> file { $path:
|
||||
source => "${source}/${name}.ini",
|
||||
owner => 'apache',
|
||||
group => 'apache',
|
||||
|
Loading…
x
Reference in New Issue
Block a user