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: file.managed:
- name: /etc/salt/minion - name: /etc/salt/minion
- source: salt://salt_minion/minion.j2 - source: salt://salt_minion/minion.j2
- template: jinja
- user: root - user: root
- group: root - group: root
- mode: 640 - mode: 640
- template: jinja

View File

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

View File

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