From 97f88fbe7405ca15840785d75089a6da279fd682 Mon Sep 17 00:00:00 2001 From: Alexander Klimov Date: Thu, 11 Sep 2014 11:53:20 +0200 Subject: [PATCH] Profile `icingaweb2_dev': enable 'monitoring' module via icingacli refs #6842 --- .vagrant-puppet/profiles/icingaweb2_dev/manifests/init.pp | 8 ++++++++ 1 file changed, 8 insertions(+) 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':