service: add salt-minion

(cherry picked from commit 37dcf65eaffa63ec0205995a34ab3cf0640b1bef)
This commit is contained in:
rebortg 2021-02-23 20:31:52 +01:00
parent 80b9aba49a
commit ce6aba8c6f
3 changed files with 54 additions and 2 deletions

View File

@ -19,6 +19,7 @@ Service
mdns
pppoe-server
router-advert
salt-minion
snmp
ssh
tftp-server

View File

@ -1,2 +0,0 @@
salt-minion
###########

View File

@ -0,0 +1,53 @@
.. _saltminion:
###########
Salt-Minion
###########
SaltStack_ is Python-based, open-source
software for event-driven IT automation, remote task execution, and
configuration management. Supporting the "infrastructure as code"
approach to data center system and network deployment and management,
configuration automation, SecOps orchestration, vulnerability remediation,
and hybrid cloud control.
************
Requirements
************
To use the Salt-Minion, a running Salt-Master is required. You can find more
in the `Salt Poject Documentaion
<https://docs.saltproject.io/en/latest/contents.html>`_
*************
Configuration
*************
.. cfgcmd:: set service salt-minion hash <type>
The hash type used when discovering file on master server (default: sha256)
.. cfgcmd:: set service salt-minion id <id>
Explicitly declare ID for this minion to use (default: hostname)
.. cfgcmd:: set service salt-minion interval <1-1440>
Interval in minutes between updates (default: 60)
.. cfgcmd:: set service salt-minion master <hostname | IP>
The hostname or IP address of the master
.. cfgcmd:: set service salt-minion master-key <key>
URL with signature of master for auth reply verification
Please take a look in the Automation section to find some usefull
Examples.
.. _SaltStack: https://saltproject.io/