Skip to content

Instantly share code, notes, and snippets.

@timoguin
Created March 4, 2014 16:08
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 timoguin/9349413 to your computer and use it in GitHub Desktop.
Save timoguin/9349413 to your computer and use it in GitHub Desktop.
pydls render time state execution
#!pydsl
s = state()
# configure it
s.pkg.installed('mako')
s() # execute the two states now
@kostecky
Copy link

kostecky commented Mar 4, 2014

!pydsl

s = state() # save for later invocation

configure it

s.pkg.installed('python-pip')
s.pip.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