Skip to content

Commit bef46c5

Browse files
zipkidekohl
authored andcommitted
Fixes
1 parent 91af925 commit bef46c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

manifests/init.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
# $run_minute:: The minute at which to run the puppet agent
7373
# when runmode is cron or systemd.timer.
7474
#
75-
# $run_timezone:: The timezon for the run the puppet agent
75+
# $run_timezone:: The timezone for the run the puppet agent
7676
# when runmode is systemd.timer.
7777
# Use `timedatectl list-timezones` to list accepted values
7878
#

templates/agent/systemd.puppet-run.timer.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Description=Systemd Timer for Puppet Agent
66

77
[Timer]
8-
OnCalendar=*-*-* <%= Array(@_hour).join(',') %>:<%= Array(@_minute).join(',') %>:00 <%= @timezone %>
8+
OnCalendar=*-*-* <%= Array(@_hour).join(',') %>:<%= Array(@_minute).join(',') %>:00<% if @timezone -%> <%= @timezone %><% end %>
99
Persistent=true
1010
RandomizedDelaySec=<%= @randomizeddelaysec %>
1111

0 commit comments

Comments
 (0)