[icinga-checkins] icinga.org: icingaweb2/master: Puppet module php: install package php-pecl-xdebug

git at icinga.org git at icinga.org
Fri Feb 19 13:38:18 CET 2016


Module: icingaweb2
Branch: master
Commit: 4cd2469a5fa95c296f908de2bc661465acae299a
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=4cd2469a5fa95c296f908de2bc661465acae299a

Author: Alexander A. Klimov <alexander.klimov at netways.de>
Date:   Fri Feb 19 13:37:50 2016 +0100

Puppet module php: install package php-pecl-xdebug

---

 .puppet/modules/php/manifests/init.pp |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.puppet/modules/php/manifests/init.pp b/.puppet/modules/php/manifests/init.pp
index d9d111b..d6dd9e3 100644
--- a/.puppet/modules/php/manifests/init.pp
+++ b/.puppet/modules/php/manifests/init.pp
@@ -17,6 +17,7 @@
 class php {
 
   include apache
+  include epel
 
   package { 'php':
     ensure  => latest,
@@ -24,5 +25,11 @@ class php {
     require => Package['apache'],
   }
 
+  package { 'php-pecl-xdebug':
+    ensure => latest,
+    notify => Service['apache'],
+    require => Class['epel'],
+  }
+
   php::phpd { ['error_reporting', 'timezone', 'xdebug_settings' ]: }
 }



More information about the icinga-checkins mailing list