Skip to content

Instantly share code, notes, and snippets.

/master.conf Secret

Created May 16, 2014 02:39
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/bdad8c645d316917e2f0 to your computer and use it in GitHub Desktop.
Save anonymous/bdad8c645d316917e2f0 to your computer and use it in GitHub Desktop.
file_roots:
base:
- /srv/salt/states
pillar_roots:
base:
- /srv/salt/pillar
pillar_dirs: /srv/salt/ext_pillar
log_level: debug
ext_pillar:
- system_classifier
import logging
# Set up logging
log = logging.getLogger(__name__)
def ext_pillar(minion_id, pillar,:
my_pillar = {'system': 'TESTING' }
return my_pillar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment