summaryrefslogtreecommitdiffstats
path: root/lib/puppet/client.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/client.rb')
-rw-r--r--lib/puppet/client.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/puppet/client.rb b/lib/puppet/client.rb
index c6061e0ef..dcf3dd439 100644
--- a/lib/puppet/client.rb
+++ b/lib/puppet/client.rb
@@ -130,6 +130,9 @@ module Puppet
# Stick it in the loop
EventLoop.current.monitor_timer timer
+ # Run once before we start following the timer
+ self.runnow
+
# And run indefinitely
observe_signal timer, :alarm do
if self.scheduled?