Skip to content

Instantly share code, notes, and snippets.

View cheuschober's full-sized avatar

Chad Heuschober cheuschober

View GitHub Profile
def orchestrate(name, saltenv=None, test=None, exclude=None, pillar=None):
'''
Execute a state.orchestrate call and report success.
.. versionadded:: 2015.8.4
name
Name of the orchestration state to run.
Examples:
@cheuschober
cheuschober / aggregate.sls
Created March 4, 2015 16:38
Aggregate handling in saltstack 2014.7.1
a:
file.touch:
- name: /tmp/a
- require:
- pkg: b
b:
pkg.installed:
- pkgs:
- emacs
- require: