paulbsd-salt/config/master
2021-03-22 23:19:34 +01:00

81 lines
1.3 KiB
YAML

# # vi:syntax=yaml
interface: '0.0.0.0'
log_level: debug
log_file: /var/log/salt/master
file_recv: True
#cache: mysql
#master_job_cache: redis
#ext_job_cache: redis
return: smtp
event_return: mysql
external_auth:
pam:
bob:
- .*
salt:
- .*
- '@runner'
- '@wheel'
rest_cherrypy:
port: 8033
disable_ssl: True
runner_dirs:
- /srv/salt/states/_runners
reactor:
- 'salt/minion/*/start':
- salt://reactor/auth.sls
- 'salt/job/*/ret/*':
- salt://reactor/email-on-failure.sls
state_output: changes
cython_enable: True
file_roots:
base:
- /srv/salt/states
pillar_roots:
base:
- /srv/salt/pillar
pillar_includes_override_sls: True
pillar_merge_lists: False
pillar_source_merging_strategy: recurse
ext_pillar:
- etcd: etcd_config root=/salt/common
- etcd: etcd_config root=/salt/hosts/%(minion_id)s
etcd_config:
etcd.host: 127.0.0.1
etcd.port: 2379
mysql.host: 'sys01.paulbsd.com'
mysql.user: 'salt'
mysql.pass: ''
mysql.password: ''
mysql.db: 'salt'
mysql.port: 3306
#mysql.table_name: 'salt_cache'
#smtp.from: 'salt@paulbsd.com'
#smtp.to: 'postmaster@paulbsd.com'
#smtp.host: 'smtp.paulbsd.com'
#smtp.port: 465
#smtp.username: 'sys@paulbsd.com'
#smtp.password: ''
#smtp.tls: True
#mine_functions:
# provision:
# - mine_function: state.sls
# - provision