Skip to content

Commit 91af925

Browse files
zipkidekohl
authored andcommitted
run_timezo
1 parent 84da553 commit 91af925

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

manifests/agent/service/systemd.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Boolean $enabled = false,
55
Optional[Integer[0,23]] $hour = undef,
66
Variant[Integer[0,59], Array[Integer[0,59]], Undef] $minute = undef,
7-
Optional[String] $timezone = undef,
7+
Optional[String[1]] $timezone = undef,
88
) {
99
unless $puppet::runmode == 'unmanaged' or 'systemd.timer' in $puppet::unavailable_runmodes {
1010
# Use the same times as for cron

manifests/init.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@
609609
Enum['cron', 'service', 'systemd.timer', 'none', 'unmanaged'] $runmode = $puppet::params::runmode,
610610
Optional[Integer[0,23]] $run_hour = undef,
611611
Variant[Integer[0,59], Array[Integer[0,59]], Undef] $run_minute = undef,
612-
Optional[String] $run_timezone = undef,
612+
Optional[String[1]] $run_timezone = undef,
613613
Array[Enum['cron', 'service', 'systemd.timer', 'none']] $unavailable_runmodes = $puppet::params::unavailable_runmodes,
614614
Optional[String] $cron_cmd = $puppet::params::cron_cmd,
615615
Optional[String] $systemd_cmd = $puppet::params::systemd_cmd,

0 commit comments

Comments
 (0)