From 9b4b2ad8ef2e0c246cc78a09c7aa8c65fca4e6fe Mon Sep 17 00:00:00 2001 From: Fintan MacMahon Date: Fri, 14 Feb 2014 13:38:20 +0000 Subject: [PATCH] Added additional modules. --- php/adodb.sls | 6 ++++++ php/imagick.sls | 6 ++++++ php/imap.sls | 6 ++++++ php/ldap.sls | 6 ++++++ php/map.jinja | 14 +++++++++++++- php/pgsql.sls | 6 ++++++ php/suhosin.sls | 6 ++++++ 7 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 php/adodb.sls create mode 100644 php/imagick.sls create mode 100644 php/imap.sls create mode 100644 php/ldap.sls create mode 100644 php/pgsql.sls create mode 100644 php/suhosin.sls diff --git a/php/adodb.sls b/php/adodb.sls new file mode 100644 index 0000000..77cf980 --- /dev/null +++ b/php/adodb.sls @@ -0,0 +1,6 @@ +{% from "php/map.jinja" import php with context %} + +php-adodb: + pkg: + - installed + - name: {{ php.adodb_pkg }} diff --git a/php/imagick.sls b/php/imagick.sls new file mode 100644 index 0000000..2274574 --- /dev/null +++ b/php/imagick.sls @@ -0,0 +1,6 @@ +{% from "php/map.jinja" import php with context %} + +php-imagick: + pkg: + - installed + - name: {{ php.imagick_pkg }} diff --git a/php/imap.sls b/php/imap.sls new file mode 100644 index 0000000..e7483e3 --- /dev/null +++ b/php/imap.sls @@ -0,0 +1,6 @@ +{% from "php/map.jinja" import php with context %} + +php-imap: + pkg: + - installed + - name: {{ php.imap_pkg }} diff --git a/php/ldap.sls b/php/ldap.sls new file mode 100644 index 0000000..b2e889c --- /dev/null +++ b/php/ldap.sls @@ -0,0 +1,6 @@ +{% from "php/map.jinja" import php with context %} + +php-ldap: + pkg: + - installed + - name: {{ php.ldap_pkg }} diff --git a/php/map.jinja b/php/map.jinja index cea8b08..c67bca1 100644 --- a/php/map.jinja +++ b/php/map.jinja @@ -13,7 +13,13 @@ 'pear_pkg': ' php-pear', 'soap_pkg': ' php-soap', 'fpm_service': 'php5-fpm', - 'xml_pkg': ' php5', + 'xml_pkg': ' php5-xml', + 'imagick_pkg': 'php5-imagick', + 'suhosin_pkg': 'php5-suhosin', + 'imap_pkg': 'php5-imap', + 'adodb_pkg': 'php5-adodb', + 'pgsql_pkg': 'php5-pgsql', + 'ldap_pkg': 'php5-ldap', }, 'RedHat': { 'php_pkg': 'php', @@ -30,5 +36,11 @@ 'soap_pkg': ' php-soap', 'fpm_service': 'php-fpm', 'xml_pkg': ' php-xml', + 'imagick_pkg': 'php-imagick', + 'suhosin_pkg': 'php-suhosin', + 'imap_pkg': 'php-imap', + 'adodb_pkg': 'php-adodb', + 'pgsql_pkg': 'php-pgsql', + 'ldap_pkg': 'php-ldap', }, }, merge=salt['pillar.get']('php:lookup')) %} diff --git a/php/pgsql.sls b/php/pgsql.sls new file mode 100644 index 0000000..6fa31d1 --- /dev/null +++ b/php/pgsql.sls @@ -0,0 +1,6 @@ +{% from "php/map.jinja" import php with context %} + +php-psql: + pkg: + - installed + - name: {{ php.psql_pkg }} diff --git a/php/suhosin.sls b/php/suhosin.sls new file mode 100644 index 0000000..1045afa --- /dev/null +++ b/php/suhosin.sls @@ -0,0 +1,6 @@ +{% from "php/map.jinja" import php with context %} + +php-suhosin: + pkg: + - installed + - name: {{ php.suhosin_pkg }}