Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Created July 5, 2015 16:46
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 anonymous/cb9b65d97286e24e2ef7 to your computer and use it in GitHub Desktop.
Save anonymous/cb9b65d97286e24e2ef7 to your computer and use it in GitHub Desktop.
#!py
import simplejson as json
import logging
import salt
import salt.log
import salt.client
import salt.utils
log = logging.getLogger(__name__)
log.warn("Available stuff: {0}".format(dir()))
def run():
log.warn("Mygrains: {0}".format(grains))
run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment