From 27c8944ccae9a36652aa8f4fd4cc6e99e29c4783 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 7 Jan 2013 15:48:52 -0200 Subject: Package php5-suhosin not available on wheezy --- manifests/init.pp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index fe383ed..b776ffb 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -20,10 +20,18 @@ class php { include pear # The needed packages - package { [ "php5", "php5-mysql", "php5-cli", "php5-ffmpeg", "php5-curl", "php5-suhosin", "php5-gmp" ]: + package { [ "php5", "php5-mysql", "php5-cli", "php5-ffmpeg", "php5-curl", "php5-gmp" ]: ensure => installed, } + # Not available on wheezy + package { "php5-suhosin": + ensure => $lsbdistcodename ? { + 'wheezy' => absent, + default => present, + }, + } + # The needed apache modules apache::module { "php5": ensure => present, -- cgit v1.2.3