0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2026-03-28 03:31:55 +01:00

Merge 09f73356e03a30768904b072ae514da7a7e3547a into 543760ac1ca889671b8ab523d1a7e48ebb6bdad9

This commit is contained in:
Georg 2026-03-16 11:13:06 +00:00 committed by GitHub
commit 316b52786a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
47 changed files with 53 additions and 2 deletions

View File

@ -173,6 +173,8 @@ salt:
# salt minion config:
minion_config_use_TOFS: true
# schedule delayed minion restart on configuration changes
restart_via_systemd: false
minion:
# standalone setup

View File

@ -11,6 +11,7 @@ salt:
use_pip: false
clean_config_d_dir: true
restart_via_at: false
restart_via_systemd: false
parallel: true # salt.git module argument
config_path: /etc/salt

View File

@ -107,7 +107,7 @@ salt-minion:
- file: remove-old-minion-conf-file
- order: last
{% endif %}
{%- if not salt_settings.restart_via_at %}
{%- if not salt_settings.restart_via_at and not salt_settings.restart_via_systemd %}
cmd.run:
{%- if grains['saltversioninfo'] >= [ 2016, 3 ] %}
{%- if grains['kernel'] == 'Windows' %}
@ -142,7 +142,7 @@ salt-minion:
- file: remove-old-minion-conf-file
{%- else %}
{% if grains.os_family not in ['MacOS', 'FreeBSD'] %}
{%- if grains.os_family not in ['MacOS', 'FreeBSD'] and not salt_settings.restart_via_systemd %}
{# MacOS and FreeBSD have the 'at' command; but there's no package to install #}
at:
pkg.installed:
@ -151,7 +151,11 @@ at:
restart-salt-minion:
cmd.run:
{%- if salt_settings.restart_via_systemd %}
- name: systemd-run --on-active=1m systemctl restart salt-minion
{%- else %}
- name: echo salt-call --local service.restart {{ salt_settings.minion_service }} | at now + 1 minute
{%- endif %}
- order: last
- onchanges:
{%- if salt_settings.install_packages %}

View File

@ -72,6 +72,7 @@ Suse:
install_from_package: git
master:
gitfs_provider: pygit2
restart_via_systemd: true
Gentoo:
salt_master: app-admin/salt

View File

@ -95,6 +95,7 @@ values:
python_dulwich: python-dulwich
python_git: GitPython
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -95,6 +95,7 @@ values:
python_dulwich: python-dulwich
python_git: GitPython
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -96,6 +96,7 @@ values:
python_git: GitPython
release: '3004'
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -95,6 +95,7 @@ values:
python_dulwich: python-dulwich
python_git: GitPython
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -95,6 +95,7 @@ values:
python_git: python2-gitpython
release: '3004'
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -96,6 +96,7 @@ values:
python_git: GitPython
release: '3003'
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -95,6 +95,7 @@ values:
python_dulwich: python-dulwich
python_git: GitPython
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -95,6 +95,7 @@ values:
python_dulwich: python-dulwich
python_git: GitPython
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -97,6 +97,7 @@ values:
python_git: python-git
release: '3003'
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -96,6 +96,7 @@ values:
python_dulwich: python-dulwich
python_git: python-git
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -96,6 +96,7 @@ values:
python_dulwich: python-dulwich
python_git: python-git
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -97,6 +97,7 @@ values:
python_git: python-git
release: '3003'
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -96,6 +96,7 @@ values:
python_git: GitPython
release: '3003'
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -96,6 +96,7 @@ values:
python_git: GitPython
release: '3004'
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -96,6 +96,7 @@ values:
python_git: GitPython
release: '3004'
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -95,6 +95,7 @@ values:
python_dulwich: python-dulwich
python_git: GitPython
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -95,6 +95,7 @@ values:
python_dulwich: python-dulwich
python_git: GitPython
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -95,6 +95,7 @@ values:
python_dulwich: python-dulwich
python_git: GitPython
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -93,6 +93,7 @@ values:
python_git: py39-gitpython
release: '3004'
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -93,6 +93,7 @@ values:
python_git: py39-gitpython
release: '3004'
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -93,6 +93,7 @@ values:
python_git: python-git
release: '3004'
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -93,6 +93,7 @@ values:
python_git: python-git
release: '3004'
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -92,6 +92,7 @@ values:
python_git: python-git
release: '3004'
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -92,6 +92,7 @@ values:
python_git: python-git
release: '3004'
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -92,6 +92,7 @@ values:
python_git: python-git
release: '3004'
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -92,6 +92,7 @@ values:
python_git: py3-GitPython
release: '3002'
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -92,6 +92,7 @@ values:
python_git: py3-GitPython
release: '3003'
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -95,6 +95,7 @@ values:
python_dulwich: python-dulwich
python_git: python-git
restart_via_at: false
restart_via_systemd: true
retry_options:
attempts: 5
interval: 10

View File

@ -95,6 +95,7 @@ values:
python_dulwich: python-dulwich
python_git: python-git
restart_via_at: false
restart_via_systemd: true
retry_options:
attempts: 5
interval: 10

View File

@ -96,6 +96,7 @@ values:
python_git: GitPython
release: '3003'
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -95,6 +95,7 @@ values:
python_dulwich: python-dulwich
python_git: GitPython
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -95,6 +95,7 @@ values:
python_dulwich: python-dulwich
python_git: GitPython
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -95,6 +95,7 @@ values:
python_dulwich: python-dulwich
python_git: GitPython
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -95,6 +95,7 @@ values:
python_dulwich: python-dulwich
python_git: GitPython
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -99,6 +99,7 @@ values:
python_git: python-git
release: '3003'
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -98,6 +98,7 @@ values:
python_dulwich: python-dulwich
python_git: python-git
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -98,6 +98,7 @@ values:
python_dulwich: python-dulwich
python_git: python-git
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -98,6 +98,7 @@ values:
python_dulwich: python-dulwich
python_git: python-git
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -92,6 +92,7 @@ values:
python_git: python-git
release: '3004'
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -92,6 +92,7 @@ values:
python_git: python-git
release: '3003'
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -92,6 +92,7 @@ values:
python_git: python-git
release: '3004'
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -92,6 +92,7 @@ values:
python_git: python-git
release: '3004'
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10

View File

@ -92,6 +92,7 @@ values:
python_git: python-git
release: '3004'
restart_via_at: false
restart_via_systemd: false
retry_options:
attempts: 5
interval: 10