Created
March 29, 2017 00:35
-
-
Save anonymous/d5ccebcdefd0c3cb398813310fe06bdb 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
salt '*' saltutil.refresh_pillar | |
salt '*' cmd.run template=jinja \ | |
"echo '\ | |
{{ salt[\"pillar.get\"](\"some_app:git:revision\") }}, \ | |
{{ salt[\"pillar.get\"](\"some_other_app:git:revision\") }}, \ | |
{{ grains.get(\"lsb_distrib_id\") }} {{ grains.get(\"lsb_distrib_release\") }}, | |
| sort > /var/www/versions.csv" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment