Browse Source

Add missing php_install_

tags/v0.34.0
Paweł Rosada 5 years ago
parent
commit
77b1b3520f
No account linked to committer's email address
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      php/ng/installed.jinja

+ 9
- 0
php/ng/installed.jinja View File

@@ -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() }}

Loading…
Cancel
Save