diff options
author | Gabriel Nagy <gabrielnagy@me.com> | 2020-05-06 15:27:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-06 15:27:37 +0300 |
commit | 273991657d2fea239ef7b6be5a40a728ad507772 (patch) | |
tree | 2bc412738f9ff85d3d5557c3d236cbab825f5930 /lib | |
parent | 575c45082d48624ab8ed952b01c17302c0e4e1ef (diff) | |
parent | b3e1e41ca72db2b11c047923aec7ddd274fe1779 (diff) | |
download | puppet-cron_core-273991657d2fea239ef7b6be5a40a728ad507772.tar.gz puppet-cron_core-273991657d2fea239ef7b6be5a40a728ad507772.tar.bz2 |
Merge pull request #31 from Bouke/patch-1
Day ranges can only be numeric
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/type/cron.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/puppet/type/cron.rb b/lib/puppet/type/cron.rb index e07ce70..d590a16 100644 --- a/lib/puppet/type/cron.rb +++ b/lib/puppet/type/cron.rb @@ -280,7 +280,9 @@ Puppet::Type.newtype(:cron) do must be either: - A number between 0 and 7, inclusive, with 0 or 7 being Sunday - - The name of the day, such as 'Tuesday'." + - The name of the day, such as 'Tuesday'. + + Day ranges can only be numeric; e.g. '1-5' for weekdays, but not 'Mon-Fri'." end newproperty(:month, parent: CronParam) do |