Issue #4819 has been reported by micah -.
----------------------------------------
Bug #4819: Cron type reference documentation incorrectly states that the
special parameter only supported on FreeBSD
http://projects.puppetlabs.com/issues/4819
Author: micah -
Status: Unreviewed
Priority: Normal
Assignee:
Category: cron
Target version:
Affected version:
Keywords:
Branch:
The cron parameters in the Type Reference states:
<pre>
special
Special schedules only supported on FreeBSD.
</pre>
However on a typical Debian system the special parameters are allowed:
<pre>
# cat /tmp/special_cron_test.pp
cron { "test_special":
command => "/bin/true",
special => @reboot;
}
# puppet /tmp/special_cron_test.pp
notice: /Stage[main]//Cron[test_special]/ensure: created
# crontab -l
# HEADER: This file was autogenerated at Wed Sep 22 10:56:39 -0400 2010 by
puppet.
# HEADER: While it can still be managed manually, it is definitely not
recommended.
# HEADER: Note particularly that the comments starting with 'Puppet Name' should
# HEADER: not be deleted, as doing so could cause duplicate cron jobs.
# Puppet Name: test_special
@reboot /bin/true
</pre>
Also man (5) crontab says:
<pre>
Instead of the first five fields, one of eight special strings may appear:
string meaning
------ -------
@reboot Run once, at startup.
@yearly Run once a year, "0 0 1 1 *".
@annually (same as @yearly)
@monthly Run once a month, "0 0 1 * *".
@weekly Run once a week, "0 0 * * 0".
@daily Run once a day, "0 0 * * *".
@midnight (same as @daily)
@hourly Run once an hour, "0 * * * *".
</pre>
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.