diff options
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, |