Explorar el Código

Merge pull request #130 from saltstack-formulas/revert-129-master

Revert "Move state php_{{ phpng_version }}_link to cli/install.sls "
tags/v0.34.0
Niels Abspoel hace 7 años
padre
commit
e1b4f23c96
Se han modificado 2 ficheros con 10 adiciones y 11 borrados
  1. +0
    -11
      php/ng/cli/install.sls
  2. +10
    -0
      php/ng/installed.jinja

+ 0
- 11
php/ng/cli/install.sls Ver fichero

@@ -1,13 +1,2 @@
{% set state = 'cli' %}
{% include "php/ng/installed.jinja" %}


php_{{ phpng_version }}_link:
alternatives.set:
- name: php
- path: /usr/bin/php{{ phpng_version }}
- require_in:
- pkg: php_install_{{ state }}
- onlyif:
- which php
- test {{ current_php }} != $(which php{{ phpng_version }})

+ 10
- 0
php/ng/installed.jinja Ver fichero

@@ -47,6 +47,16 @@ php_ppa_{{ state }}:
- onchanges:
- pkgrepo: php_ppa_{{ state }}

php_{{ phpng_version }}_link:
alternatives.set:
- name: php
- path: /usr/bin/php{{ phpng_version }}
- require_in:
- pkg: php_install_{{ state }}
- onlyif:
- which php
- test {{ current_php }} != $(which php{{ phpng_version }})

{% endif %}
{% endif %}


Cargando…
Cancelar
Guardar