mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
Profile `icingaweb2_dev': enable 'monitoring' module via icingacli
refs #6842
This commit is contained in:
parent
b82ed3d2a4
commit
97f88fbe74
@ -1,6 +1,7 @@
|
||||
class icingaweb2_dev {
|
||||
include apache
|
||||
include php
|
||||
include icinga_packages
|
||||
|
||||
class { 'zend_framework':
|
||||
notify => Service['apache'],
|
||||
@ -11,6 +12,13 @@ class icingaweb2_dev {
|
||||
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' }
|
||||
|
||||
mysql::database::populate { 'icingaweb':
|
||||
|
Loading…
x
Reference in New Issue
Block a user