puppet: Provision the PHP ImageMagick Module

resolves #8108
This commit is contained in:
Eric Lippmann 2015-01-20 10:07:27 +01:00
parent 2bd2f32b2e
commit b065a9defd
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,29 @@
# Class: php_imagick
#
# This class installs the ImageMagick PHP module.
#
# Parameters:
#
# Actions:
#
# Requires:
#
# php
#
# Sample Usage:
#
# include php_imagick
#
class php_imagick {
include php
$php_imagick = $::operatingsystem ? {
/(Debian|Ubuntu)/ => 'php5-imagick',
/(RedHat|CentOS|Fedora)/ => 'php-pecl-imagick',
/(SLES|OpenSuSE)/ => 'php5-imagick',
}
package { $php_imagick:
ensure => latest,
}
}

View File

@ -9,6 +9,7 @@ class icingaweb2_dev (
) {
include apache
include php
include php_imagick
include icingaweb2::config
include icingacli
include icinga_packages