New version of salt-formula from Saltstack
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 line
429B

  1. {%- from "salt/map.jinja" import master with context %}
  2. {%- if master.enabled %}
  3. {%- if pillar.django_pki is defined %}
  4. {%- if pillar.django_pki.server.enabled %}
  5. include:
  6. - salt.master.service
  7. {#
  8. {%- for environment_name, environment in master.environment.iteritems() %}
  9. /srv/salt/env/{{ environment_name }}/pki:
  10. file.symlink:
  11. - target: /srv/django_pki/site/pki
  12. {%- endfor %}
  13. #}
  14. {%- endif %}
  15. {%- endif %}
  16. {%- endif %}