diff --git a/map.jinja b/map.jinja --- a/map.jinja +++ b/map.jinja @@ -79,17 +79,20 @@ {% set packages_prefixes = salt['grains.filter_by']({ 'Debian': { + 'pecl': 'php-', 'php': 'php7.2-', 'python2': '', 'python3': 'python3-', 'rubygem': '', }, 'RedHat': { + 'pecl': 'php-pecl-', 'python2': 'python-', 'python3': 'python3-', 'rubygem': 'rubygem-', }, 'FreeBSD' : { + 'pecl': 'php72-pecl-', 'php': 'php72-', 'python2': 'py27-', 'python3': 'py36-', diff --git a/roles/shellserver/userland-software/base.sls b/roles/shellserver/userland-software/base.sls --- a/roles/shellserver/userland-software/base.sls +++ b/roles/shellserver/userland-software/base.sls @@ -184,6 +184,9 @@ - {{ packages_prefixes.php }}pdo_sqlite {% endif %} + # PECL extensions + - {{ packages_prefixes.pecl }}yaml + # PHP utilities {% if grains['os'] != 'FreeBSD' %}