Ajouter 'zacharie-gen.conf'

This commit is contained in:
2018-05-22 14:57:19 +00:00
parent c7bbffd094
commit 572b3d8add

118
zacharie-gen.conf Normal file
View File

@@ -0,0 +1,118 @@
elasticsearch:
hosts:
- "https://root:KeepassPassword@es-a.zacharie.org:9200"
- "https://root:KeepassPassword@es-b.zacharie.org:9200"
- "https://root:KeepassPassword@es-c.zacharie.org:9200"
index_date: True
verify_certs: False
number_of_shards: 1
number_of_replicas: 1
multi_returner:
- elasticsearch
- mysql
- influxdb
master_job_cache: multi_returner
event_return: multi_returner
runner_returns: True
fileserver_backend:
- git
- roots
gitfs_provider: gitpython
gitfs_update_interval: 30
gitfs_saltenv:
- base:
- ref: master
gitfs_remotes:
- https://saltreader:KeepassPassword@git.zacharie.org/salt/salt-states.git
- https://saltreader:KeepassPassword@git.zacharie.org/salt/active-formula.git
gitfs_saltenv_whitelist:
- base
- master
winrepo_provider: gitpython
winrepo_remotes: []
winrepo_dir_ng: /srv/salt/win/repo-ng/salt-winrepo-ng
winrepo_remotes_ng:
- https://saltreader:KeepassPassword@git.zacharie.org/salt/salt-winrepo-ng.git
reactor:
- salt/beacon/*/inotify//root/important_file:
- /srv/reactor/revert.sls
file_roots:
base:
- /srv/salt
- /srv/salt/win/repo-ng
ext_pillar:
- git:
- https://saltreader:KeepassPassword@git.zacharie.org/salt/salt-pillar.git:
- env: base
auto_accept: True
file_recv: True
ipv6: False
keep_jobs: 24
mysql_auth:
hostname: madb.zacharie.org
database: salt-auth
username: salt
password: KeepassPassword
auth_sql: 'SELECT username FROM users WHERE username = "{0}" AND password = SHA2("{1}", 256)'
sharedsecret: KeepassPassword
sharemysql:
user: salt
pass: KeepassPassword
db: salt-pillar
host: madb.zacharie.org
port: 3306
influxdb:
db: 'salt'
user: 'salt'
password: 'KeepassPassword'
host: 'influxdb.zacharie.org'
port: 8086
log_level: error
log_level_logfile: error
external_auth:
sharedsecret:
saltapi:
- .*
- '@jobs'
mysql:
saltapi:
- .*
joseph:
- .*
pam:
joseph:
- .*
rest_cherrypy:
port: 8078
host: 0.0.0.0
disable_ssl: True
websockets: True
reactor:
- 'salt/minion/*/start':
- salt://reactor/minion/start.sls
- 'salt/cloud/*/created':
- 'salt://reactor/cloud/created.sls'
pillar_roots:
base:
- /srv/pillar