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

View File

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