Created
March 4, 2014 16:08
-
-
Save timoguin/9349413 to your computer and use it in GitHub Desktop.
pydls render time state execution
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 | |
s = state() | |
# configure it | |
s.pkg.installed('mako') | |
s() # execute the two states now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
!pydsl
s = state() # save for later invocation
configure it
s.pkg.installed('python-pip')
s.pip.installed('mako')
s() # execute the two states now