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: 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/templates/minion.j2
- user: root - user: root
- group: root - group: root
- mode: 640 - mode: 640

View File

@ -3,7 +3,7 @@
salt-minion-service-file: salt-minion-service-file:
file.managed: file.managed:
- name: /etc/systemd/system/salt-minion.service - 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 - template: jinja
- user: root - user: root
- group: root - group: root

View File

@ -1,3 +1,3 @@
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }} ## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "salt_minion/map.jinja" import salt_minion with context %} {%- 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 # 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 # 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. # is not enabled.
# grains_cache_expiration: 300 # grains_cache_expiration: 300
@ -778,4 +778,4 @@ log_level: debug
###### Miscellaneous settings ###### ###### Miscellaneous settings ######
############################################ ############################################
# Default match type for filtering events tags: startswith, endswith, find, regex, fnmatch # 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 KillMode=control-group
NotifyAccess=all NotifyAccess=all
LimitNOFILE=8192 LimitNOFILE=8192
ExecStart=/usr/local/bin/salt-minion ExecSearchPath=/usr/local/bin:/usr/bin
ExecStart=salt-minion
TimeoutStopSec=5s TimeoutStopSec=5s
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target