Advertisement
Guest User

vveexx

a guest
Jun 8th, 2015
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.00 KB | None | 0 0
  1. ### MASTER CONF SECTION ###
  2. reactor:
  3.   - 'salt/minion/*/start':
  4.    - /srv/salt/reactor/reacttop.sls
  5.  
  6. ### /srv/salt/reactor/reacttop.sls (entire contents of file) ###
  7. highstate_run:
  8.   local.state.highstate:
  9.     - tgt: {{ data['id'] }}
  10.  
  11. ### /srv/salt/top.sls (entire contents) ###
  12. base:
  13.   'os:Windows':
  14.     - match: grain
  15.     - windows.common
  16.   'os:CentOS':
  17.     - match: grain
  18.     - centos.common
  19.   'os:RedHat':
  20.     - match: grain
  21.     - redhat.common
  22.   'os:Ubuntu':
  23.     - match: grain
  24.     - ubuntu.common
  25.   'nginx_role:frontend':
  26.     - match: grain
  27.     - nginx.common
  28.     - nginx.frontend
  29.   'nginx_role:public':
  30.     - match: grain
  31.     - nginx.common
  32.     - nginx.public
  33.   'nginx_role:backend':
  34.     - match: grain
  35.     - nginx.common
  36.     - nginx.backend
  37.   '*-udp-*':
  38.    - realms.udp
  39.   '*-wdp-*':
  40.    - realms.wdp
  41.   '*-rdp-*':
  42.    - realms.rdp
  43.   '*-poc-*':
  44.    - realms.poc
  45.   '*-wci-*':
  46.    - realms.wci
  47.   '*-red??':
  48.    - redis.common
  49.   '*poc-red??':
  50.    - redis.poc.common
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement