summaryrefslogtreecommitdiff
path: root/lib/chef/resource/cron.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/cron.rb')
-rw-r--r--lib/chef/resource/cron.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/resource/cron.rb b/lib/chef/resource/cron.rb
index 9c04658bf3..cb16506012 100644
--- a/lib/chef/resource/cron.rb
+++ b/lib/chef/resource/cron.rb
@@ -27,6 +27,8 @@ class Chef
state_attrs :minute, :hour, :day, :month, :weekday, :user
+ provides :cron
+
def initialize(name, run_context=nil)
super
@resource_name = :cron
@@ -138,7 +140,7 @@ class Chef
:kind_of => [String, Symbol]
)
end
-
+
def time(arg=nil)
set_or_return(
:time,
@@ -214,5 +216,3 @@ class Chef
end
end
end
-
-