Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Standard packages
{% for package in pillar["ci"]["packages"]["standards"] %}
Package {{ package }} should have the revision {{ pillar["ci"]["revision"] }} active for the {{ pillar['application_environment'] }} environment:
svn.latest:
- name: http://xxxx/{{ pillar['application_environment'] }}/{{ package }}/trunk
- target: C:\inetpub\wwwroot\{{ pillar['application_environment'] }}\{{ package }}
- rev: {{ pillar["ci"]["revision"] }}
- username: {{ pillar["ci"]["svn"]["username"] }}
- password: {{ pillar["ci"]["svn"]["password"] }}
- force: true
- parallel: true
- require:
- Destination directory for {{ package }} should exists
- retry:
attempts: 3
until: true
interval: 10
{% endfor %}
Warnings: 'retry' and 'parallel' are invalid keyword arguments for
'svn.latest'. If you were trying to pass additional data to be
used in a template context, please populate 'context' with 'key:
value' pairs. Your approach will work until Salt Oxygen is out.
Please update your state files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.