diff options
author | Chris Doherty <cdoherty@getchef.com> | 2014-09-04 11:46:43 -0700 |
---|---|---|
committer | Chris Doherty <cdoherty@getchef.com> | 2014-09-10 16:34:21 -0700 |
commit | ff9cab9346fdf285e33bb12724b791c1428772b1 (patch) | |
tree | 9d86637aaef1ff9ad3b8ce036604f674dbab8537 | |
parent | c08b50bd7e9022ca58cc0e4da9fdf09b6ad954d9 (diff) | |
download | chef-ff9cab9346fdf285e33bb12724b791c1428772b1.tar.gz |
Remove the timestamp attribute, which isn't actually settable by the user.
-rw-r--r-- | lib/chef/provider/reboot.rb | 1 | ||||
-rw-r--r-- | lib/chef/resource/reboot.rb | 4 |
2 files changed, 0 insertions, 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 |