|
|
|
|
|
|
|
|
- pkg: salt-minion |
|
|
- pkg: salt-minion |
|
|
- watch: |
|
|
- watch: |
|
|
- file: salt-minion |
|
|
- file: salt-minion |
|
|
|
|
|
|
|
|
|
|
|
configure-salt-master: |
|
|
|
|
|
file.managed: |
|
|
|
|
|
- name: /etc/salt/master |
|
|
|
|
|
- source: salt://salt/templates/master.template |
|
|
|
|
|
- template: jinja |
|
|
|
|
|
- user: root |
|
|
|
|
|
- groupt: root |
|
|
|
|
|
- mode: 0700 |
|
|
|
|
|
|
|
|
|
|
|
run-salt-master: |
|
|
|
|
|
cmd.wait: |
|
|
|
|
|
- name: start salt-master |
|
|
|
|
|
- watch: |
|
|
|
|
|
- file: run-salt-master |
|
|
|
|
|
- require: |
|
|
|
|
|
- file: configure-salt-master |
|
|
|
|
|
file.managed: |
|
|
|
|
|
- name: /etc/init/salt-master |
|
|
|
|
|
- source: salt://salt/templates/upstart-master.conf |
|
|
|
|
|
- template: jinja |
|
|
|
|
|
- defaults: |
|
|
|
|
|
run_mode: master |