From ff9cab9346fdf285e33bb12724b791c1428772b1 Mon Sep 17 00:00:00 2001 From: Chris Doherty Date: Thu, 4 Sep 2014 11:46:43 -0700 Subject: Remove the timestamp attribute, which isn't actually settable by the user. --- lib/chef/provider/reboot.rb | 1 - lib/chef/resource/reboot.rb | 4 ---- 2 files changed, 5 deletions(-) diff --git a/lib/chef/provider/reboot.rb b/lib/chef/provider/reboot.rb index 59519b214a..7b0465f4c9 100644 --- a/lib/chef/provider/reboot.rb +++ b/lib/chef/provider/reboot.rb @@ -29,7 +29,6 @@ class Chef @current_resource ||= Chef::Resource::Reboot.new(@new_resource.name) @current_resource.reason(@new_resource.reason) @current_resource.delay_mins(@new_resource.delay_mins) - @current_resource.timestamp(@new_resource.timestamp) @current_resource end diff --git a/lib/chef/resource/reboot.rb b/lib/chef/resource/reboot.rb index 71c34be891..47ba9b33bb 100644 --- a/lib/chef/resource/reboot.rb +++ b/lib/chef/resource/reboot.rb @@ -40,10 +40,6 @@ class Chef def delay_mins(arg=nil) set_or_return(:delay_mins, arg, :kind_of => Fixnum) end - - def timestamp(arg=nil) - set_or_return(:timestamp, arg, :kind_of => Time) - end end end end -- cgit v1.2.1