Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
salt-formula
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
salt
salt-formula
Commits
91330d17
Commit
91330d17
authored
12 years ago
by
Ari Lerner
Browse files
Options
Downloads
Patches
Plain Diff
Added small readme
parent
3ff270fe
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.rst
+7
-1
7 additions, 1 deletion
README.rst
salt/master.sls
+23
-0
23 additions, 0 deletions
salt/master.sls
with
30 additions
and
1 deletion
README.rst
+
7
−
1
View file @
91330d17
...
@@ -11,4 +11,10 @@ Install a minion
...
@@ -11,4 +11,10 @@ Install a minion
salt.master
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
...
\ No newline at end of file
This diff is collapsed.
Click to expand it.
salt/master.sls
+
23
−
0
View file @
91330d17
...
@@ -15,3 +15,26 @@ salt-master:
...
@@ -15,3 +15,26 @@ salt-master:
- 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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment