Class CronParam
In: lib/puppet/type/cron.rb
Parent: Puppet::Property

A base class for all of the Cron parameters, since they all have similar argument checking going on.

Methods

Attributes

boundaries  [RW] 
default  [RW] 

Public Instance methods

Verify that a value falls within the specified array. Does case insensitive matching, and supports matching either the entire word or the first three letters of the word.

We have to override the parent method, because we consume the entire "should" array

Verify that a number is within the specified limits. Return the number if it is, or false if it is not.

A method used to do parameter input handling. Converts integers in string form to actual integers, and returns the value if it‘s an integer or false if it‘s just a normal string.

[Validate]