updated salt_minion state
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2023-01-07 21:10:27 +01:00
parent 9730b83e41
commit 1b99c1aec4
5 changed files with 8 additions and 7 deletions

View File

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

View File

@ -3,7 +3,7 @@
salt-minion-service-file:
file.managed:
- name: /etc/systemd/system/salt-minion.service
- source: salt://salt_minion/salt-minion.service.j2
- source: salt://salt_minion/templates/salt-minion.service.j2
- template: jinja
- user: root
- group: root

View File

@ -1,3 +1,3 @@
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "salt_minion/map.jinja" import salt_minion with context %}
{{ salt_minion.config|yaml(False) }}
{{ salt_minion.config|yaml(False) }}

View File

@ -327,7 +327,7 @@
# Grains cache expiration, in seconds. If the cache file is older than this
# number of seconds then the grains cache will be dumped and fully re-populated
# with fresh data. Defaults to 5 minutes. Will have no effect if 'grains_cache'
# with fresh data. Defaults to 5 minutes. Will have no effect if 'grains_cache'
# is not enabled.
# grains_cache_expiration: 300
@ -778,4 +778,4 @@ log_level: debug
###### Miscellaneous settings ######
############################################
# Default match type for filtering events tags: startswith, endswith, find, regex, fnmatch
#event_match_type: startswith
#event_match_type: startswith

View File

@ -9,8 +9,9 @@ Type=notify
KillMode=control-group
NotifyAccess=all
LimitNOFILE=8192
ExecStart=/usr/local/bin/salt-minion
ExecSearchPath=/usr/local/bin:/usr/bin
ExecStart=salt-minion
TimeoutStopSec=5s
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target