aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-08 16:03:58 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-08 16:03:58 -0300
commitaad34de2eca6b602ccd7be22818610900da1e83b (patch)
tree479975e0d9763688272304ab7f9fd329c718c302
parent8b4708612dc9524d00f293c137528be8552c4e56 (diff)
downloadpuppet-php-aad34de2eca6b602ccd7be22818610900da1e83b.tar.gz
puppet-php-aad34de2eca6b602ccd7be22818610900da1e83b.tar.bz2
Aliases for php5 and php5-cli packages on xenial
-rw-r--r--manifests/packages/xenial.pp10
1 files changed, 9 insertions, 1 deletions
diff --git a/manifests/packages/xenial.pp b/manifests/packages/xenial.pp
index 41f4420..98b0ac7 100644
--- a/manifests/packages/xenial.pp
+++ b/manifests/packages/xenial.pp
@@ -1,6 +1,14 @@
class php::packages::xenial {
# The needed packages: we could also try libapache2-mod-php5.6filter
- package { [ 'php5.6', 'php5.6-mysql', 'php5.6-sqlite', 'php5.6-cli', 'php5.6-curl', 'php5.6-gmp', 'libapache2-mod-php5.6' ]:
+ package { 'php5':
+ name => 'php5.6',
+ }
+
+ package { 'php5-cli':
+ name => 'php5.6-cli',
+ }
+
+ package { [ 'php5.6-mysql', 'php5.6-sqlite', 'php5.6-cli', 'php5.6-curl', 'php5.6-gmp', 'libapache2-mod-php5.6' ]:
ensure => installed,
}