mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
parent
b6de74b1a9
commit
8fd3b94009
@ -2,6 +2,7 @@ class icingaweb2_dev {
|
|||||||
include apache
|
include apache
|
||||||
include php
|
include php
|
||||||
include icinga_packages
|
include icinga_packages
|
||||||
|
include icingaweb2
|
||||||
|
|
||||||
class { 'zend_framework':
|
class { 'zend_framework':
|
||||||
notify => Service['apache'],
|
notify => Service['apache'],
|
||||||
@ -15,8 +16,21 @@ class icingaweb2_dev {
|
|||||||
package { 'icingacli':
|
package { 'icingacli':
|
||||||
ensure => latest,
|
ensure => latest,
|
||||||
require => Class['icinga_packages'],
|
require => Class['icinga_packages'],
|
||||||
} -> exec { 'enable-monitoring-module':
|
}
|
||||||
|
|
||||||
|
file { '/etc/icingaweb/enabledModules':
|
||||||
|
ensure => directory,
|
||||||
|
owner => 'apache',
|
||||||
|
group => 'apache',
|
||||||
|
mode => 6750,
|
||||||
|
require => [
|
||||||
|
Class['apache'],
|
||||||
|
File['icingaweb2cfgDir']
|
||||||
|
],
|
||||||
|
}
|
||||||
|
-> exec { 'enable-monitoring-module':
|
||||||
command => 'icingacli module enable monitoring',
|
command => 'icingacli module enable monitoring',
|
||||||
|
require => Package['icingacli'],
|
||||||
}
|
}
|
||||||
|
|
||||||
exec { 'usermod -aG icingacmd apache':
|
exec { 'usermod -aG icingacmd apache':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user