mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +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 {
|
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':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user