diff --git a/.vagrant-puppet/profiles/icingaweb2_dev/manifests/init.pp b/.vagrant-puppet/profiles/icingaweb2_dev/manifests/init.pp index 1fcacd933..ee9108844 100644 --- a/.vagrant-puppet/profiles/icingaweb2_dev/manifests/init.pp +++ b/.vagrant-puppet/profiles/icingaweb2_dev/manifests/init.pp @@ -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':