diff --git a/.vagrant-puppet/profiles/icingaweb2_dev/manifests/init.pp b/.vagrant-puppet/profiles/icingaweb2_dev/manifests/init.pp index 62fcdc251..1fcacd933 100644 --- a/.vagrant-puppet/profiles/icingaweb2_dev/manifests/init.pp +++ b/.vagrant-puppet/profiles/icingaweb2_dev/manifests/init.pp @@ -1,6 +1,7 @@ class icingaweb2_dev { include apache include php + include icinga_packages class { 'zend_framework': notify => Service['apache'], @@ -11,6 +12,13 @@ class icingaweb2_dev { notify => Service['apache'], } + package { 'icingacli': + ensure => latest, + require => Class['icinga_packages'], + } -> exec { 'enable-monitoring-module': + command => 'icingacli module enable monitoring', + } + Exec { path => '/bin:/usr/bin' } mysql::database::populate { 'icingaweb':