updated salt_minion state

This commit is contained in:
Paul 2022-12-03 00:04:04 +01:00
parent 19bfbdb141
commit bf89cb7c65
3 changed files with 12 additions and 12 deletions

View File

@ -4,7 +4,7 @@ salt-minion-config:
file.managed:
- name: /etc/salt/minion
- source: salt://salt_minion/minion.j2
- template: jinja
- user: root
- group: root
- mode: 640
- template: jinja

View File

@ -4,12 +4,12 @@ salt_minion:
version: 3005.1
config:
master: salt.paulbsd.com
ping_interval: 1
# hash_type: sha256
state_verbose: 'True'
tcp_keepalive: 'True'
tcp_keepalive_idle: 300
random_reauth_delay: 60
recon_default: 1000
recon_max: 10000
recon_randomize: 'True'
#ping_interval: 1
## hash_type: sha256
#state_verbose: 'True'
#tcp_keepalive: 'True'
#tcp_keepalive_idle: 300
#random_reauth_delay: 60
#recon_default: 1000
#recon_max: 10000
#recon_randomize: 'True'

View File

@ -6,11 +6,11 @@ After=network.target
[Service]
Type=notify
KillMode=process
KillMode=control-group
NotifyAccess=all
LimitNOFILE=8192
ExecStart=/usr/local/bin/salt-minion
TimeoutStopSec=10s
TimeoutStopSec=5s
[Install]
WantedBy=multi-user.target