Merge pull request #159 from bawuenet/scl_opcache

Handle different scl/legacy php naming for opcache.
This commit is contained in:
Niels Abspoel 2018-10-30 21:26:04 +01:00 committed by GitHub
commit 5486e445df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2738,7 +2738,7 @@
'net-smtp': 'php-pear-Net-SMTP',
'net4': 'php-pear-Net-IPv4',
'oauth': 'php-pecl-oauth',
'opcache': 'php-pecl-zendopcache',
'opcache': rh_prefix + 'php-opcache' if salt['pillar.get']('php:use_scl_repo', False) else 'php-pecl-zendopcache',
'pear': rh_prefix + 'php-pear',
'pgsql': rh_prefix + 'php-pgsql',
'php': rh_prefix + 'php',