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.*

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值