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: specs:
enabled: true enabled: true
server: false
type: none type: none
org: none org: none
country: None country: None
@ -9,7 +10,8 @@ specs:
container: false container: false
sudo: true sudo: true
lb: false lb: false
ch: false
provision: provision:
highstate_interval_minutes: 20 apply_interval_minutes: 15
clear_cache_interval_days: 30 clear_cache_interval_days: 30

View File

@ -1,12 +1,16 @@
--- ---
{%- from "provision/map.jinja" import provision with context %} {%- from "provision/map.jinja" import provision with context %}
schedule_highstate: schedule_apply:
schedule.present: schedule.present:
- name: schedule_highstate - name: schedule_apply
- function: state.highstate - function: state.apply
- minutes: {{ provision.highstate_interval_minutes }} - minutes: {{ provision.apply_interval_minutes }}
- run_on_start: false - run_on_start: false
schedule_highstate:
schedule.absent:
- name: schedule_highstate
schedule_saltutil_clear_cache: schedule_saltutil_clear_cache:
schedule.absent: schedule.absent:
- name: schedule_saltutil_clear_cache - name: schedule_saltutil_clear_cache