Mercurial > repos > other > Puppet
changeset 241:1901eea3befe puppet-3.6
Downgrade to PHP7.3
PHP 7.4 is only a few weeks old and Nextcloud doesn't support it
yet.
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 20 Dec 2019 12:14:27 +0000 |
parents | 960e737a120e |
children | 7d8e664ebcc9 |
files | manifests/templates.pp |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/manifests/templates.pp Fri Dec 20 11:48:24 2019 +0000 +++ b/manifests/templates.pp Fri Dec 20 12:14:27 2019 +0000 @@ -409,7 +409,7 @@ default_extra_tlds => [ 'com' ], } - # Use Remi's PHP 7.4 + # Use Remi's PHP 7.3 for now - 7.4 is still VERY new $php_suffix = '' yumrepo { 'remirepo-safe': mirrorlist => 'http://cdn.remirepo.net/enterprise/$releasever/safe/mirror', @@ -419,9 +419,9 @@ gpgcheck => 1, gpgkey => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi', } - yumrepo { 'remirepo-php7.4': - mirrorlist => 'http://cdn.remirepo.net/enterprise/$releasever/php74/mirror', - descr => "PHP7.4 for CentOS from Remi", + yumrepo { 'remirepo-php': + mirrorlist => 'http://cdn.remirepo.net/enterprise/$releasever/php73/mirror', + descr => "PHP7.3 for CentOS from Remi", enabled => 1, failovermethod => 'priority', gpgcheck => 1, @@ -430,7 +430,7 @@ file { '/etc/pki/rpm-gpg/RPM-GPG-KEY-remi': ensure => present, source => 'puppet:///common/RPM-GPG-KEY-remi', - before => YumRepo['remirepo-php7.4'], + before => YumRepo['remirepo-php'], } #Configure the PHP version to use