Saltstack Official PHP Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

install.sls 328B

12345678910111213
  1. {% set state = 'cli' %}
  2. {% include "php/ng/installed.jinja" %}
  3. php_{{ phpng_version }}_link:
  4. alternatives.set:
  5. - name: php
  6. - path: /usr/bin/php{{ phpng_version }}
  7. - require_in:
  8. - pkg: php_install_{{ state }}
  9. - onlyif:
  10. - which php
  11. - test {{ current_php }} != $(which php{{ phpng_version }})