Skip to content

Instantly share code, notes, and snippets.

@iggy
iggy / -etc-salt-master.d-63reactor.conf
Created December 31, 2014 19:50
salt send events to graphite
reactor:
- 'salt/minion/*/start':
- /srv/reactor/sync_all.sls
- /srv/reactor/graphite_event.sls
diff --git a/aptly/aptly_config.sls b/aptly/aptly_config.sls
index 28b053c..b8bc69c 100644
--- a/aptly/aptly_config.sls
+++ b/aptly/aptly_config.sls
@@ -33,7 +33,7 @@ aptly_conf:
- require:
- file: aptly_homedir
-{% if {{ salt['pillar.get']('aptly:secure') %}
+{% if salt['pillar.get']('aptly:secure') %}
@iggy
iggy / all.sls
Created October 28, 2014 13:57
mine functions pillar
mine_functions:
#test.ping: []
network.interfaces: []
network.get_hostname: []
disk.usage: []
grains.item:
- tags
- roles
@iggy
iggy / all-foo.sls
Created October 27, 2014 22:47
pillar question
rsyslog:
key1: True