lib/chef/provider/cron.rb in chef-10.14.0.beta.2 vs lib/chef/provider/cron.rb in chef-10.14.0.beta.3

- old
+ new

@@ -23,10 +23,10 @@ class Chef class Provider class Cron < Chef::Provider include Chef::Mixin::Command - CRON_PATTERN = /\A([-0-9*,\/]+)\s([-0-9*,\/]+)\s([-0-9*,\/]+)\s([-0-9*,\/]+)\s([-0-9*,\/]+)\s(.*)/ + CRON_PATTERN = /\A([-0-9*,\/]+)\s([-0-9*,\/]+)\s([-0-9*,\/]+)\s([-0-9*,\/]+|[a-zA-Z]{3})\s([-0-9*,\/]+|[a-zA-Z]{3})\s(.*)/ ENV_PATTERN = /\A(\S+)=(\S*)/ CRON_ATTRIBUTES = [:minute, :hour, :day, :month, :weekday, :command, :mailto, :path, :shell, :home, :environment] def initialize(new_resource, run_context)