Adjust patch annotations

This commit is contained in:
Mike Reeves
2023-03-20 20:02:23 -04:00
parent eb61b0c98f
commit 507142cde4

79
salt/patch/soc_patch.yaml Normal file
View File

@@ -0,0 +1,79 @@
patch:
os:
enabled:
description: Enable OS updates.
helpLink: patch.html
schedule_to_run:
description: Currently running schedule for updates.
helpLink: patch.html
schedules:
auto:
splay: &splayOptions
description: Seconds to splay updates.
helpLink: patch.html
schedule:
hours:
description: Run the OS updates every X hours.
helpLink: patch.html
monday:
splay: *splayOptions
schedule:
Monday: &dayOptions
description: List of times to run OS Updates on this day.
multiline: True
tuesday:
splay: *splayOptions
schedule:
Tuesday: *dayOptions
wednesday:
splay: *splayOptions
schedule:
Wednesday: *dayOptions
thursday:
splay: *splayOptions
schedule:
Thursday: *dayOptions
friday:
splay: *splayOptions
schedule:
Friday: *dayOptions
saturday:
splay: *splayOptions
schedule:
Saturday: *dayOptions
sunday:
splay: *splayOptions
schedule:
Sunday: *dayOptions
daily:
splay: *splayOptions
schedule:
Monday: &dailyOptions
description: List of times to apply OS patches daily.
multiline: True
helpLink: True
Tuesday: *dailyOptions
Wednesday: *dailyOptions
Thursday: *dailyOptions
Friday: *dailyOptions
Saturday: *dailyOptions
Sunday: *dailyOptions
weekdays:
splay: *splayOptions
schedule:
Monday: &weekdayOptions
description: List of times for weekdays.
multiline: True
helplink: patch.html
Tuesday: *weekdayOptions
Wednesday: *weekdayOptions
Thursday: *weekdayOptions
Friday: *weekdayOptions
weekends:
splay: *splayOptions
schedule:
Saturday: &weekendOptions
description:
multiline: true
helpLink: patch.html
Sunday: *weekendOptions