Skip to content

Instantly share code, notes, and snippets.

@manjiki
Created February 23, 2017 12:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manjiki/95c2315775b8ad1058717f3d580a1b78 to your computer and use it in GitHub Desktop.
Save manjiki/95c2315775b8ad1058717f3d580a1b78 to your computer and use it in GitHub Desktop.
if 'snapshot' in APP_DATA['artifact']['repository']:
result = __salt__['artifactory.get_latest_snapshot'](artifactory_url, repository, group_id, artifact_id, packaging, target_dir=target_dir)
ret['changes']['new'].append(result)
ret['result'] = True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment