Skip to content

Commit 77b1b35

Browse files
authored
Add missing php_install_
1 parent 324ebd8 commit 77b1b35

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

php/ng/installed.jinja

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,15 @@ php_ppa_{{ state }}:
7979
{% if use_scl_repo and grains['os'] == 'CentOS' %}
8080
php_centos_scl_enable_{{ state }}:
8181
pkg.installed:
82+
- name: centos-release-scl
83+
{% elif use_scl_repo and grains['os'] == 'RedHat' %}
84+
php_redhat_scl_enable_{{ state }}:
85+
cmd.run:
86+
- name: yum-config-manager --enable rhel-server-rhscl-{{ grains['osmajorrelease'] }}-rpms
87+
{% endif %}
88+
{% endif %}
89+
90+
php_install_{{ state }}:
8291
pkg.installed:
8392
- name: {{ state }}
8493
- pkgs: {{ pkgs|json() }}

0 commit comments

Comments
 (0)