aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/packages/xenial.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/packages/xenial.pp b/manifests/packages/xenial.pp
index dbc213a..ef5cb63 100644
--- a/manifests/packages/xenial.pp
+++ b/manifests/packages/xenial.pp
@@ -44,4 +44,12 @@ class php::packages::xenial {
ensure => present,
require => Package['libapache2-mod-php5.6'],
}
+
+ # Default alternative
+ file { "/etc/alternatives/php":
+ ensure => "/usr/bin/php5.6",
+ owner => root,
+ group => root,
+ require => Package['php5'],
+ }
}