blob: f16e03ef879b0cf4865915f9f1df35c4c688bb69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
class php::series5::packages::default {
# The needed packages: we could also try libapache2-mod-php5filter
package { [ 'php5', 'php5-mysql', 'php5-sqlite', 'php5-cli', 'php5-curl', 'php5-gmp', 'libapache2-mod-php5' ]:
ensure => installed,
}
# Optional packages
package { [ "php5-gd", "php5-imagick" ]:
ensure => installed,
}
# Not available anymore
package { 'php5-suhosin':
ensure => absent,
}
# The needed apache modules
apache::module { 'php5':
ensure => present,
require => Package['libapache2-mod-php5'],
}
}
|