paulbsd-salt/states/provision/schedule.sls
Paul 6f0f8f91d2
All checks were successful
continuous-integration/drone/push Build is passing
updated provision state
2024-11-21 22:00:00 +01:00

20 lines
521 B
Plaintext

---
{%- from "provision/map.jinja" import provision with context %}
schedule_apply:
schedule.present:
- name: schedule_apply
- function: state.apply
- minutes: {{ provision.apply_interval_minutes }}
- run_on_start: false
schedule_highstate:
schedule.absent:
- name: schedule_highstate
schedule_saltutil_clear_cache:
schedule.present:
- name: schedule_saltutil_clear_cache
- function: saltutil.clear_cache
- days: {{ provision.clear_cache_interval_days }}
- run_on_start: false