diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-07 15:48:52 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-07 15:48:52 -0200 |
commit | 27c8944ccae9a36652aa8f4fd4cc6e99e29c4783 (patch) | |
tree | acccef91956336d953e66b7f0d4957f79222d505 /manifests | |
parent | 2bac93263ecda54d916e5b4a8c0eb24b3dd27237 (diff) | |
download | puppet-php-27c8944ccae9a36652aa8f4fd4cc6e99e29c4783.tar.gz puppet-php-27c8944ccae9a36652aa8f4fd4cc6e99e29c4783.tar.bz2 |
Package php5-suhosin not available on wheezy
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 10 |
1 files changed, 9 insertions, 1 deletions
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, |