diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-06-28 15:32:58 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-06-28 15:32:58 -0300 |
commit | 66468a58e5250aa64fd08e63c738c4c8b54eab41 (patch) | |
tree | ae9edda645d87d8968bbe122a5a8054254152463 /manifests | |
parent | 015ed988efe22d1c524ed39352edc19fc259ae27 (diff) | |
download | puppet-php-66468a58e5250aa64fd08e63c738c4c8b54eab41.tar.gz puppet-php-66468a58e5250aa64fd08e63c738c4c8b54eab41.tar.bz2 |
PHP 5.6 alternative on xenial
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/packages/xenial.pp | 8 |
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'], + } } |