Skip to content

Instantly share code, notes, and snippets.

@silenius
Created February 21, 2017 10:33
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 silenius/41732347bc4fd73bdfe95c2ee255b9dd to your computer and use it in GitHub Desktop.
Save silenius/41732347bc4fd73bdfe95c2ee255b9dd to your computer and use it in GitHub Desktop.
def ext_pillar(minion_id, pillar, kw):
icinga_master = __salt__['pillar.get']('icinga:client:master')
if icinga_master:
return {'FOOOOOO' : icinga_master}
else:
return {'FOOOOOO' : 'LOL'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment