Module `icinga2_mysql': require `icinga2::config'

refs #6842
This commit is contained in:
Alexander Klimov 2014-09-10 12:48:22 +02:00
parent 65a65ae2b3
commit 2576a3bc32
1 changed files with 4 additions and 5 deletions

View File

@ -4,9 +4,10 @@
#
# Requires:
#
# icinga2
# icinga_packages
# icinga2
# icinga2::feature
# icinga2::config
# mysql::database::populate
#
# Sample Usage:
@ -30,10 +31,8 @@ class icinga2_mysql {
require => Package['icinga2-ido-mysql'],
}
file { '/etc/icinga2/features-available/ido-mysql.conf':
source => 'puppet:///modules/icinga2_mysql/etc/icinga2/features-available/ido-mysql.conf',
owner => 'icinga',
group => 'icinga',
icinga2::config { 'features-available/ido-mysql':
source => 'puppet:///modules/icinga2_mysql',
}
icinga2::feature { 'ido-mysql':