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.

21 lines
544B

  1. # Manages the php-hhvm service.
  2. {% from "php/ng/map.jinja" import php with context %}
  3. include:
  4. - php.ng.deprecated
  5. - php.ng.hhvm.install
  6. {% if salt['grains.get']('os_family') == 'Debian' -%}
  7. hhvm_repo:
  8. pkgrepo.managed:
  9. - name: deb http://dl.hhvm.com/{{ salt['grains.get']('os')|lower }} {{ salt['grains.get']('oscodename')}} main
  10. - file: /etc/apt/sources.list.d/hhvm.list
  11. - keyid: 0x5a16e7281be7a449
  12. - keyserver: keyserver.ubuntu.com
  13. - refresh_db: True
  14. - require_in:
  15. - pkg: php_install_hhvm
  16. {%- endif %}