Profile `icingaweb2_dev': enable 'monitoring' module via icingacli

refs #6842
This commit is contained in:
Alexander Klimov 2014-09-11 11:53:20 +02:00
parent b82ed3d2a4
commit 97f88fbe74

View File

@ -1,6 +1,7 @@
class icingaweb2_dev { class icingaweb2_dev {
include apache include apache
include php include php
include icinga_packages
class { 'zend_framework': class { 'zend_framework':
notify => Service['apache'], notify => Service['apache'],
@ -11,6 +12,13 @@ class icingaweb2_dev {
notify => Service['apache'], notify => Service['apache'],
} }
package { 'icingacli':
ensure => latest,
require => Class['icinga_packages'],
} -> exec { 'enable-monitoring-module':
command => 'icingacli module enable monitoring',
}
Exec { path => '/bin:/usr/bin' } Exec { path => '/bin:/usr/bin' }
mysql::database::populate { 'icingaweb': mysql::database::populate { 'icingaweb':