SaltStack Deconstructed - Intro image/svg+xml SaltStack Deconstructed - Intro salt/modules /srv/salt/_modules Repo: Custom: $ salt '*' saltutil.sync_grains ! ! ! ! ! ! INFRASTRUCTURE EVENTS Ex state . apply min1 tmp disk full! !test.ping target=* test.ping En Qu pgdb . pop Qu pgdb . insert $ salt '*' test.ping Minion salt-minion Master salt-master En En En En En webhook . start En logstash . start En slack . start salt/engines /srv/salt/_engines Repo: Custom: $ salt '*' saltutil.sync_engines INFRASTRUCTURE EVENTS ! ! ! ! salt-master Qu pgdb . pop Qu pgdb . insert Qu sqlite . pop Qu sqlite . insert Qu pgdb . pop Qu pgdb . insert salt/queues N/A Repo: Custom: $ cp myqueue.py <SALT DIT PATH>/salt/queues/ salt-minion /srv/thorium/autoclean.sls salt-master Th wheel . cmd Th key . timeout Th status . reg salt/thorium /srv/salt/_thorium Repo: Custom: $ salt '*' saltutil.sync_thorium Minion salt-minion Bc inotify . beacon Bc diskusage . beacon Bc service . beacon Master salt-master cmd.run /etc/salt/master.d/reactor.conf /srv/reactor/clean_tmp.sls $ salt 'min1' cmd.run 'rm /tmp/*' + Minion salt-minion Bc inotify . beacon Bc diskusage . beacon Bc service . beacon * Bc service . beacon Bc diskusage . beacon Bc inotify . beacon salt/beacons /srv/salt/_beacons Repo: Custom: $ salt '*' saltutil.sync_beacons engine En reactor Rc
1
  1. Start
  2. beacon
  3. Reactor
  4. queue
  5. engine