Browse Source

Wait until pkg:nginx is installed before adding /etc/nginx/nginx.conf

susefix
Ajna Cackovic 10 years ago
parent
commit
f0f2f941a4
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      nginx/common.sls

+ 1
- 0
nginx/common.sls View File

- source: salt://nginx/templates/config.jinja - source: salt://nginx/templates/config.jinja
- require: - require:
- file: /etc/nginx - file: /etc/nginx
- pkg: nginx


{% for dir in ('sites-enabled', 'sites-available') %} {% for dir in ('sites-enabled', 'sites-available') %}
/etc/nginx/{{ dir }}: /etc/nginx/{{ dir }}:

Loading…
Cancel
Save