mirror of
https://github.com/valitydev/rbkmoney-infra.git
synced 2024-11-06 01:35:20 +00:00
add salt master and minion pillars
This commit is contained in:
parent
dd36ac836f
commit
8fd68bda9c
57
pillar/salt/master.sls
Normal file
57
pillar/salt/master.sls
Normal file
@ -0,0 +1,57 @@
|
||||
salt:
|
||||
master:
|
||||
conf:
|
||||
client_acl_blacklist:
|
||||
users: ['^(?!sudo_|root$).*$']
|
||||
color: true
|
||||
cython_enable: true
|
||||
enable_gpu_grains: false
|
||||
failhard: false
|
||||
file_buffer_size: 1048576
|
||||
file_recv: false
|
||||
hash_type: sha512
|
||||
interface: '::'
|
||||
ipv6: true
|
||||
jinja_lstrip_blocks: true
|
||||
jinja_trim_blocks: true
|
||||
job_cache: true
|
||||
keep_jobs: 12
|
||||
key_cache: sched
|
||||
key_logfile: /var/log/salt/key
|
||||
log_datefmt: '%H:%M:%S'
|
||||
log_datefmt_logfile: '%Y-%m-%d %H:%M:%S'
|
||||
log_file: /var/log/salt/master
|
||||
log_fmt_console: '%(asctime)s %(colorlevel)s %(colormsg)s [%(name)s]'
|
||||
log_fmt_logfile: '%(asctime)s,%(msecs)03.0f %(bracketprocess)s%(bracketname)s%(bracketlevel)s
|
||||
%(message)s'
|
||||
log_level: info
|
||||
log_level_logfile: info
|
||||
loop_interval: 60
|
||||
minion_data_cache: true
|
||||
order_masters: true
|
||||
pidfile: /run/salt-master.pid
|
||||
pillar_raise_on_missing: true
|
||||
pillarenv_from_saltenv: true
|
||||
publish_port: 4505
|
||||
renderer: yaml_jinja
|
||||
ret_port: 4506
|
||||
sign_pub_messages: true
|
||||
sock_dir: /run/salt/master
|
||||
state_output: changes
|
||||
state_top_saltenv: base
|
||||
state_verbose: false
|
||||
timeout: 15
|
||||
token_expire: 43200
|
||||
top_file_merging_strategy: same
|
||||
user: root
|
||||
verify_env: true
|
||||
worker_threads: 4
|
||||
yaml_utf8: true
|
||||
repos:
|
||||
extra:
|
||||
common:
|
||||
default-branch: master
|
||||
remote: 'git+ssh://git@github.com/rbkmoney/salt-common'
|
||||
main:
|
||||
name: rbkmoney-infra
|
||||
remote: 'git+ssh://git@github.com/rbkmoney/rbkmoney-infra'
|
55
pillar/salt/minion.sls
Normal file
55
pillar/salt/minion.sls
Normal file
@ -0,0 +1,55 @@
|
||||
salt:
|
||||
minion:
|
||||
conf:
|
||||
acceptance_wait_time: 60
|
||||
acceptance_wait_time_max: 0
|
||||
auth_safemode: false
|
||||
auth_timeout: 60
|
||||
auth_tries: 7
|
||||
autoload_dynamic_modules: true
|
||||
cache_jobs: false
|
||||
cachedir: /var/cache/salt/minion
|
||||
clean_dynamic_modules: true
|
||||
color: true
|
||||
cython_enable: true
|
||||
environment: base
|
||||
grains_cache: false
|
||||
grains_cache_expiration: 300
|
||||
grains_refresh_every: 10
|
||||
hash_type: sha512
|
||||
ipv6: true
|
||||
log_datefmt: '%H:%M:%S'
|
||||
log_datefmt_logfile: '%Y-%m-%d %H:%M:%S'
|
||||
log_file: /var/log/salt/minion
|
||||
log_fmt_console: '%(asctime)s %(colorlevel)s %(colormsg)s [%(name)s]'
|
||||
log_fmt_logfile: '%(asctime)s,%(msecs)03.0f %(bracketprocess)s%(bracketname)s%(bracketlevel)s
|
||||
%(message)s'
|
||||
log_level: info
|
||||
log_level_logfile: info
|
||||
master: [salt-master.linode.rbkmoney.dev]
|
||||
master_alive_interval: 300
|
||||
master_port: 4506
|
||||
master_type: failover
|
||||
multiprocessing: true
|
||||
pidfile: /run/salt-minion.pid
|
||||
pillar_raise_on_missing: true
|
||||
pillarenv: base
|
||||
pillarenv_from_saltenv: true
|
||||
ping_interval: 5
|
||||
pki_dir: /etc/salt/pki/minion
|
||||
random_reauth_delay: 60
|
||||
rejected_retry: false
|
||||
renderer: yaml_jinja
|
||||
retry_dns: 0
|
||||
root_dir: /
|
||||
sock_dir: /run/salt/minion
|
||||
state_aggregate: true
|
||||
state_output: changes
|
||||
state_output_profile: false
|
||||
state_verbose: false
|
||||
strip_colors: false
|
||||
tcp_keepalive: true
|
||||
tcp_keepalive_idle: 60
|
||||
tcp_keepalive_intvl: 45
|
||||
user: root
|
||||
verify_env: true
|
@ -2,3 +2,5 @@
|
||||
salt-master.linode.rbkmoney.dev:
|
||||
- gentoo.makeconf.default
|
||||
- gentoo.arch.linode
|
||||
- salt.minion
|
||||
- salt.master
|
||||
|
@ -1,6 +1,6 @@
|
||||
{{ saltenv }}:
|
||||
salt-master.linode.rbkmoney.dev:
|
||||
- gentoo
|
||||
- gentoo # +
|
||||
- openrc
|
||||
- ssl
|
||||
- gentoo.portage.packages
|
||||
|
Loading…
Reference in New Issue
Block a user