Pārlūkot izejas kodu

Added small readme

tags/v0.57.0
Ari Lerner pirms 11 gadiem
vecāks
revīzija
91330d170d
2 mainītis faili ar 30 papildinājumiem un 1 dzēšanām
  1. +7
    -1
      README.rst
  2. +23
    -0
      salt/master.sls

+ 7
- 1
README.rst Parādīt failu

@@ -11,4 +11,10 @@ Install a minion
salt.master
===========

Install a master
Install a master. Every option available in the master template can be set in the pillar file:

salt:
ret_port: 4506
master:
user: saltuser
...

+ 23
- 0
salt/master.sls Parādīt failu

@@ -15,3 +15,26 @@ salt-master:
- pkg: salt-minion
- watch:
- 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

Notiek ielāde…
Atcelt
Saglabāt