icingaweb2::config::general: require module `apache'

refs #6842
This commit is contained in:
Alexander Klimov 2014-09-10 11:45:57 +02:00
parent 5e3f60d42b
commit d61e883422
1 changed files with 3 additions and 0 deletions

View File

@ -1,9 +1,12 @@
define icingaweb2::config::general ($source, $replace = true) {
include apache
$path = "/etc/icingaweb/${name}.ini"
file { $path:
source => "${source}${path}",
owner => 'apache',
group => 'apache',
replace => $replace,
require => Class['apache'],
}
}