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…
Reference in New Issue