15 lines
287 B
Text
15 lines
287 B
Text
{% from tpldir+"/map.jinja" import nginx with context %}
|
|
{% set profiles = salt.pillar.get("nginx.profiles", []) %}
|
|
|
|
nginx_pkg:
|
|
pkg.installed:
|
|
- pkgs:
|
|
- nginx
|
|
|
|
{% for profile in profiles %}
|
|
|
|
nginx_{{ profile }}_test:
|
|
cmd.run:
|
|
- name: echo "{{ profile }}"
|
|
|
|
{% endfor %}
|