Mercurial > repos > other > Puppet
diff manifests/templates.pp @ 110:be2b30b17a4c puppet-3.6
Switch to PHP 7 from Webtatic
FIXME: Might as well drop support for CentOS 6 as I don't test it any more
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 31 May 2016 22:02:15 +0100 |
parents | 5c6edfab92d6 |
children | f0a86e36d33f |
line wrap: on
line diff
--- a/manifests/templates.pp Tue May 31 22:00:56 2016 +0100 +++ b/manifests/templates.pp Tue May 31 22:02:15 2016 +0100 @@ -186,7 +186,7 @@ } yumrepo { 'webtatic': mirrorlist => 'http://mirror.webtatic.com/yum/el$releasever/$basearch/mirrorlist', - descr => "Extra Packages for Enterprise Linux", + descr => "Webtatic Packages for Enterprise Linux", enabled => 1, failovermethod => 'priority', gpgcheck => 1, @@ -363,9 +363,13 @@ default_tld => 'co.uk', default_extra_tlds => [ 'com' ], } + + # Use Webtatic's PHP 7 + $php_suffix = '70w' + #Configure the PHP version to use class { 'website::php': - suffix => '55ibb', #IBBoard's rebuild of Webtatic's PHP 5.5 + suffix => $php_suffix, opcache => 'opcache', extras => [ 'process' ], } @@ -395,7 +399,7 @@ mysqlpassword => template('defaultusers/mysql-password'), mysqlprefix => $mysqlpackage, mysqlsuffix => $mysqlsuffix, - phpsuffix => '55ibb', + phpsuffix => $php_suffix, phpmysqlsuffix => 'nd' } }