nginx.sls 308 Bytes
Newer Older
Guba Sándor committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
nginx:
  pkg:
   - installed

  pkgrepo.managed:
    - ppa: nginx/stable
    - require_in:
      - pkg: nginx

  file.managed:
    - name: /etc/nginx/conf.d/default.conf
    - template: jinja
    - source: salt://manager/files/nginx.conf
    - user: root
    - group: root
    - require:
       - pkg: nginx