mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Add peer_run to the master config template
This commit is contained in:
parent
6dc2ca1f06
commit
459035812e
1 changed files with 18 additions and 0 deletions
|
@ -180,6 +180,24 @@
|
|||
# This is not recommended, since it would allow anyone who gets root on any
|
||||
# single minion to instantly have root on all of the minions!
|
||||
#
|
||||
# Minions can also be allowed to execute runners from the salt master.
|
||||
# Since executing a runner from the minion could be considered a security risk,
|
||||
# it needs to be enabled. This setting functions just like the peer seeting
|
||||
# except that it opens up runners instead of module functions.
|
||||
#
|
||||
# All peer runner support is turned off by default and must be enabled before
|
||||
# using. This will enable all peer runners for all minions:
|
||||
#
|
||||
# peer_run:
|
||||
# .*:
|
||||
# - .*
|
||||
#
|
||||
# To enable just the manage.up runner for the minion foo.example.com:
|
||||
#
|
||||
# peer_run:
|
||||
# foo.example.com:
|
||||
# - manage.up
|
||||
#
|
||||
|
||||
##### Cluster settings #####
|
||||
##########################################
|
||||
|
|
Loading…
Add table
Reference in a new issue