From 77b1b3520f8940d7d362264faea64c2e73a88184 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Rosada?= Date: Mon, 25 Mar 2019 08:20:33 +0100 Subject: [PATCH] Add missing php_install_ --- php/ng/installed.jinja | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/php/ng/installed.jinja b/php/ng/installed.jinja index fb778ef..a2530d9 100644 --- a/php/ng/installed.jinja +++ b/php/ng/installed.jinja @@ -79,6 +79,15 @@ php_ppa_{{ state }}: {% if use_scl_repo and grains['os'] == 'CentOS' %} php_centos_scl_enable_{{ state }}: pkg.installed: + - name: centos-release-scl + {% elif use_scl_repo and grains['os'] == 'RedHat' %} +php_redhat_scl_enable_{{ state }}: + cmd.run: + - name: yum-config-manager --enable rhel-server-rhscl-{{ grains['osmajorrelease'] }}-rpms + {% endif %} +{% endif %} + +php_install_{{ state }}: pkg.installed: - name: {{ state }} - pkgs: {{ pkgs|json() }}