paulbsd-salt/states/provision/schedule.sls

20 lines
521 B
Plaintext
Raw Normal View History

2023-02-19 12:21:44 +01:00
---
{%- from "provision/map.jinja" import provision with context %}
2023-03-31 17:35:37 +02:00
schedule_apply:
2023-02-19 12:21:44 +01:00
schedule.present:
2023-03-31 17:35:37 +02:00
- name: schedule_apply
- function: state.apply
- minutes: {{ provision.apply_interval_minutes }}
2023-02-19 12:21:44 +01:00
- run_on_start: false
2023-03-31 17:35:37 +02:00
schedule_highstate:
schedule.absent:
- name: schedule_highstate
2023-02-19 12:21:44 +01:00
schedule_saltutil_clear_cache:
2024-11-21 22:00:00 +01:00
schedule.present:
2023-02-19 12:21:44 +01:00
- name: schedule_saltutil_clear_cache
- function: saltutil.clear_cache
- days: {{ provision.clear_cache_interval_days }}
- run_on_start: false