Enable module 'monitoring' as user 'apache'

refs #6842
This commit is contained in:
Alexander Klimov 2014-09-15 14:20:13 +02:00
parent fbdeb77770
commit 5b1377e5df
1 changed files with 5 additions and 1 deletions

View File

@ -30,7 +30,11 @@ class icingaweb2_dev {
}
-> exec { 'enable-monitoring-module':
command => 'icingacli module enable monitoring',
require => Package['icingacli'],
user => 'apache',
require => [
Package['icingacli'],
Class['apache']
],
}
exec { 'usermod -aG icingacmd apache':