Created
August 10, 2014 14:32
-
-
Save krak3n/967a4fe638e42e8a832f to your computer and use it in GitHub Desktop.
SaltStack PyDSL|Stateconf renderers
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
#!pydsl|stateconf -ps | |
state('.repo') \ | |
.git.latest( | |
name='https://github.com/itagenten/tree', | |
rev='json', | |
target='/tmp/tree') | |
state('.make') \ | |
.cmd.wait( | |
name='make', | |
user='root', | |
cwd='/tmp/tree') \ | |
.watch(git='.repo') | |
state('.install') \ | |
.cmd.wait( | |
name='make install', | |
user='root', | |
cwd='/tmp/tree') \ | |
.watch(cmd='.make') | |
# vim: set ft=python ts=4 sw=4: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment