mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
Profile icingaweb2_dev': add user
apache' to group `icingacmd'
refs #6842
This commit is contained in:
parent
ec9c174139
commit
1f547aa1ec
@ -19,6 +19,15 @@ class icingaweb2_dev {
|
||||
command => 'icingacli module enable monitoring',
|
||||
}
|
||||
|
||||
exec { 'usermod -aG icingacmd apache':
|
||||
command => '/usr/sbin/usermod -aG icingacmd apache',
|
||||
require => [
|
||||
Package['icingacli'],
|
||||
User['apache']
|
||||
],
|
||||
notify => Service['apache'],
|
||||
}
|
||||
|
||||
Exec { path => '/bin:/usr/bin' }
|
||||
|
||||
mysql::database::populate { 'icingaweb':
|
||||
|
Loading…
x
Reference in New Issue
Block a user