diff --git a/states/provision/defaults.yaml b/states/provision/defaults.yaml index 342f65d..c80c703 100644 --- a/states/provision/defaults.yaml +++ b/states/provision/defaults.yaml @@ -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 diff --git a/states/provision/schedule.sls b/states/provision/schedule.sls index a57457d..8fcb246 100644 --- a/states/provision/schedule.sls +++ b/states/provision/schedule.sls @@ -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