diff --git a/nginx/init.sls b/nginx/init.sls index 59da4ca..7a59734 100644 --- a/nginx/init.sls +++ b/nginx/init.sls @@ -6,10 +6,12 @@ nginx_pkg: - pkgs: - nginx +nginx_service: + service.running: + - name: nginx + - running: True + - require: + - nginx_pkg + {% for profile in profiles %} - -nginx_{{ profile }}_test: - cmd.run: - - name: echo "{{ profile }}" - {% endfor %}