updated provision state

This commit is contained in:
Paul 2023-03-31 17:35:37 +02:00
parent f6a792c399
commit 3afbac825a
2 changed files with 11 additions and 5 deletions

View File

@ -1,6 +1,7 @@
---
specs:
enabled: true
server: false
type: none
org: none
country: None
@ -9,7 +10,8 @@ specs:
container: false
sudo: true
lb: false
ch: false
provision:
highstate_interval_minutes: 20
apply_interval_minutes: 15
clear_cache_interval_days: 30

View File

@ -1,12 +1,16 @@
---
{%- from "provision/map.jinja" import provision with context %}
schedule_highstate:
schedule_apply:
schedule.present:
- name: schedule_highstate
- function: state.highstate
- minutes: {{ provision.highstate_interval_minutes }}
- 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.absent:
- name: schedule_saltutil_clear_cache