summaryrefslogtreecommitdiff
path: root/lib/chef/provider/reboot.rb
Commit message (Collapse)AuthorAgeFilesLines
* support why-run by defaultlcg/default-whyrun-supportedLamont Granquist2017-03-011-4/+0
| | | | | | | this should fix several bugs in providers that look like they should support whyrun but fail to declare it. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* cleans up the remaining new/current_resource ivarslcg/remove-ivarsLamont Granquist2017-02-151-10/+10
| | | | | | switches from using ivars to accessors for getters Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* flip multiline function arguments aroundlcg/rubocop-0.37.2Lamont Granquist2016-02-191-1/+1
| | | | no enforced trailing comma on arguments...
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g"
* Use double quotes by defaultThom May2016-01-141-2/+2
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* autocorrecting Style/TrailingCommalcg/trailing_commaLamont Granquist2016-01-131-1/+1
| | | | chefstyle -a fixed 1044 occurrances
* Add `provides` to remaining provider resourcesJohn Keiser2015-05-131-0/+1
|
* Improve the action and throw-label names.Chris Doherty2014-09-121-3/+3
|
* Re-implement immediate reboot using throw/catch, so all the end-of-runChris Doherty2014-09-101-1/+1
| | | | tasks (e.g. report handlers) still get to run.
* Rename actions to :request_reboot_on_successful_run and :reboot_interrupt_run.Chris Doherty2014-09-101-8/+20
|
* Support whyrun.Chris Doherty2014-09-101-10/+16
|
* Remove the timestamp attribute, which isn't actually settable by the user.Chris Doherty2014-09-101-1/+0
|
* Various tidying-up.Chris Doherty2014-09-101-7/+0
|
* 'timeout' -> 'delay_mins'; add a run_context() shim for RebootPending.Chris Doherty2014-09-101-3/+3
|
* Move reboot data into run_context. (Dan D. confirms his prior opinions from ↵Chris Doherty2014-09-101-16/+10
| | | | https://github.com/opscode/chef/pull/1279#discussion-diff-9964101.)
* First-pass changes for a core reboot resource. Still uses run_state instead ↵Chris Doherty2014-09-101-0/+65
of run_context.