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

{% if use_scl_repo and grains['os'] == 'CentOS' %} {% if use_scl_repo and grains['os'] == 'CentOS' %}
php_centos_scl_enable_{{ state }}: php_centos_scl_enable_{{ state }}:
pkg.installed: 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: pkg.installed:
- name: {{ state }} - name: {{ state }}
- pkgs: {{ pkgs|json() }} - pkgs: {{ pkgs|json() }}

Loading…
Cancel
Save