From 572b3d8add3e9947d48f6497b089cc0485113d99 Mon Sep 17 00:00:00 2001 From: joseph Date: Tue, 22 May 2018 14:57:19 +0000 Subject: [PATCH] Ajouter 'zacharie-gen.conf' --- zacharie-gen.conf | 118 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) create mode 100644 zacharie-gen.conf diff --git a/zacharie-gen.conf b/zacharie-gen.conf new file mode 100644 index 0000000..ac50031 --- /dev/null +++ b/zacharie-gen.conf @@ -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 \ No newline at end of file