Last active
April 5, 2017 10:48
-
-
Save kedare/32b6a7b4730af89c21efa2f78f1657f2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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