php-formula/php/hhvm/repo.sls
Imran Iqbal b4d994cc09
fix(repo.sls): fix salt-lint errors
```bash
Examining php/hhvm/repo.sls of type state
[206] Jinja variables should have spaces before and after: {{ var_name }}
php/hhvm/repo.sls:12
    - name: deb http://dl.hhvm.com/{{ salt['grains.get']('os')|lower }} {{ salt['grains.get']('oscodename')}} main
```
2019-10-09 16:07:50 +01:00

20 lines
517 B
Plaintext

# Manages the php-hhvm service.
{% from "php/map.jinja" import php with context %}
include:
- php.hhvm.install
{% if salt['grains.get']('os_family') == 'Debian' -%}
hhvm_repo:
pkgrepo.managed:
- name: deb http://dl.hhvm.com/{{ salt['grains.get']('os')|lower }} {{ salt['grains.get']('oscodename') }} main
- file: /etc/apt/sources.list.d/hhvm.list
- keyid: 0x5a16e7281be7a449
- keyserver: keyserver.ubuntu.com
- refresh_db: True
- require_in:
- pkg: php_install_hhvm
{%- endif %}