Ask Your Question

Revision history [back]

You gotta specify the period attribute, too.

schedule { 'publish_sched':
  weekday => 'Thursday',
  range   => '12:10 - 13:00',
  repeat  => 1,
  period  => 'weekly',
}

period => 'weekly' makes Puppet remember any application of a resource for up to a week. After a week the “tally chart” is cleared and resources may get applied up to repeat times.

As far as I understand the documentation, without specifying the period attribute, Puppet does not start counting, hence repeat doesn't show any effect. Quote: “The default is for resources to get applied every time Puppet runs.”

You gotta specify the period attribute, too.

schedule { 'publish_sched':
  weekday => 'Thursday',
  range   => '12:10 - 13:00',
  repeat  => 1,
  period  => 'weekly',
}

period => 'weekly' makes Puppet remember any application of a resource for up to a week. After a week the “tally chart” is cleared and resources may get applied up to repeat times.times again.

As far as I understand the documentation, without specifying the period attribute, Puppet does not start counting, hence repeat doesn't show any effect. Quote: “The default is for resources to get applied every time Puppet runs.”