summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBen Hughes <git@mumble.org.uk>2011-03-30 16:43:56 +1100
committerBen Hughes <ben@puppetlabs.com>2011-03-31 18:01:55 +1100
commit647a640fcac281e3a8cda05b92b51c44c93f1d19 (patch)
tree56d6f9823fac4989621d01b0b2159853b9a72227 /lib
parent17f673dd6fee08309970f8ff721855cf1644b45f (diff)
downloadpuppet-647a640fcac281e3a8cda05b92b51c44c93f1d19.tar.gz
puppet-647a640fcac281e3a8cda05b92b51c44c93f1d19.tar.xz
puppet-647a640fcac281e3a8cda05b92b51c44c93f1d19.zip
(#6893) Document the cron type in the case of specials.
Add in a better desc block for "specials" in cron provider, and outline it's limitations. The previous text was purely a placeholder.
Diffstat (limited to 'lib')
-rwxr-xr-xlib/puppet/type/cron.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/puppet/type/cron.rb b/lib/puppet/type/cron.rb
index 4b18e71f9..4f6ea733c 100755
--- a/lib/puppet/type/cron.rb
+++ b/lib/puppet/type/cron.rb
@@ -226,7 +226,9 @@ Puppet::Type.newtype(:cron) do
end
newproperty(:special) do
- desc "Special schedules"
+ desc "A special value such as 'reboot' or 'annually'.
+ Only available on supported systems such as Vixie Cron.
+ Overrides more specific time of day/week settings."
def specials
%w{reboot yearly annually monthly weekly daily midnight hourly}