Skip to content

Commit

Permalink
Create new variable var_timesync_service
Browse files Browse the repository at this point in the history
The variable is used to select the desired timesync service
(systemd-timesync vs chrony) in package/service install/enable
rules when using _guard_var templates.

Analogous to var_network_filtering_service introduced in ComplianceAsCode#11818
  • Loading branch information
mpurg committed Jan 27, 2025
1 parent f6c6de5 commit 77837f3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions linux_os/guide/services/ntp/var_timesync_service.var
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
documentation_complete: true

title: 'Time synchronization service'

description: |-
Time synchronization service: systemd-timesyncd or chronyd

type: string

operator: equals

interactive: true

options:
systemd-timesyncd: systemd-timesyncd
chronyd: chronyd
default: systemd-timesyncd

0 comments on commit 77837f3

Please sign in to comment.