summaryrefslogtreecommitdiff
path: root/lib/chef/resource/cron.rb
diff options
context:
space:
mode:
authorRyota Arai <ryota.arai@gmail.com>2013-12-04 09:26:22 +0900
committerBryan McLellan <btm@getchef.com>2014-03-20 13:06:29 -0700
commit2fa66bd039aaed21829df80885d647df29f576e3 (patch)
treeca3f232d51a0d26f2af67f8a60031929ce441872 /lib/chef/resource/cron.rb
parenta167025861a1f06308650a3321a8be8be9f715cd (diff)
downloadchef-2fa66bd039aaed21829df80885d647df29f576e3.tar.gz
Cron resource accepts a symbol as `weekday`
Diffstat (limited to 'lib/chef/resource/cron.rb')
-rw-r--r--lib/chef/resource/cron.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/cron.rb b/lib/chef/resource/cron.rb
index dfbb91f80c..248f0038b5 100644
--- a/lib/chef/resource/cron.rb
+++ b/lib/chef/resource/cron.rb
@@ -127,7 +127,7 @@ class Chef
set_or_return(
:weekday,
converted_arg,
- :kind_of => String
+ :kind_of => [String, Symbol]
)
end