From: Silvio Rhatto Date: Mon, 7 Jan 2013 17:48:52 +0000 (-0200) Subject: Package php5-suhosin not available on wheezy X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=27c8944ccae9a36652aa8f4fd4cc6e99e29c4783;p=puppet-php.git Package php5-suhosin not available on wheezy --- 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,