diff --git a/templates/clock_sles11.erb b/templates/clock_sles11.erb index baf81b0..1481cf6 100644 --- a/templates/clock_sles11.erb +++ b/templates/clock_sles11.erb @@ -1,5 +1,34 @@ # Managed by puppet - do not modify -ZONE="<%= @timezone %>" -<% if !@hwutc.nil? -%> -UTC=<%= @hwutc %> -<% end -%> + +## Path: System/Environment/Clock +## Description: Information about your timezone and time +## Type: string(-u,--utc,--localtime) +## ServiceRestart: boot.clock +## Command: /sbin/refresh_initrd +# +# Set to "-u" if your system clock is set to UTC, and to "--localtime" +# if your clock runs that way. +# +HWCLOCK="-u" +## Description: Write back system time to the hardware clock +## Type: yesno +## Default: yes +# +# Is set to "yes" write back the system time to the hardware +# clock at reboot or shutdown. Usefull if hardware clock is +# much more inaccurate than system clock. Set to "no" if +# system time does it wrong due e.g. missed timer interrupts. +# If set to "no" the hardware clock adjust feature is also +# skipped because it is rather useless without writing back +# the system time to the hardware clock. +# +SYSTOHC="yes" + +## Type: string(Europe/Berlin,Europe/London,Europe/Paris) +## ServiceRestart: boot.clock +# +# Timezone (e.g. CET) +# (this will set /usr/lib/zoneinfo/localtime) +# +TIMEZONE="<%= @timezone %>" +DEFAULT_TIMEZONE="<%= @timezone %>"