Primary Master Configuration ( /etc/salt/master )

interface

Default: 0.0.0.0 (all interfaces) 
The local interface to bind to
interface: 192.168.0.1

publish_port

Default: 4505
The network port to set up the publication interface.
publish_port: 4505

master_id

Default: None
The id to be passed in the publish job to minions. is is used for MultiSyndics to return the job to the requesting master.
Note: is must be the same string as the syndic is configured with.
master_id: MasterOfMaster

user

Default: root
The user to run the Salt processes
user: root

worker_threads

Default: 5
The number of threads to start for receiving commands and replies from minions. If minions are stalling on replies because you have many minions, raise the worker_threads value.
worker_threads: 5

ret_port

Default: 4506
The port used by the return server, this is the server used by Salt to receive execution returns and command executions.
ret_port: 4506

auto_accept

Default: False
Enable auto_accept. this seting will automatically accept all incoming public keys from minions.
auto_accept: False

publisher_acl

Default: {}
Enable user accounts on the master to execute specific modules. ese modules can be expressed as regular expres-sions. Note that client_acl option is deprecated by publisher_acl option and will be removed in future releases.
publisher_acl:
fred:
- test.ping
- pkg.*

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章