paulbsd-salt/states/salt_minion/config.sls

18 lines
417 B
Plaintext
Raw Normal View History

2021-05-29 08:59:03 +02:00
---
{%- from "salt_minion/map.jinja" import salt_minion with context %}
salt-minion-config:
file.managed:
- name: /etc/salt/minion
2023-01-07 21:10:27 +01:00
- source: salt://salt_minion/templates/minion.j2
2021-05-29 08:59:03 +02:00
- user: root
- group: root
- mode: 640
2022-12-03 00:04:04 +01:00
- template: jinja
2024-09-01 15:19:53 +02:00
salt-minion-reload:
2024-09-10 18:40:34 +02:00
cron.absent:
2024-09-08 15:08:44 +02:00
- name: "{{ salt_minion.reload_cmd }}"
- identifier: salt-minion-reload
2024-09-01 15:19:53 +02:00
- user: root
2024-09-08 15:08:44 +02:00
- minute: '*/30'