summaryrefslogtreecommitdiff
path: root/lib/chef/resource/reboot.rb
Commit message (Collapse)AuthorAgeFilesLines
* autofixing whitespace copsLamont Granquist2016-02-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | 4174 Style/SpaceInsideHashLiteralBraces 1860 Style/SpaceAroundOperators 1336 Style/SpaceInsideBlockBraces 1292 Style/AlignHash 997 Style/SpaceAfterComma 860 Style/SpaceAroundEqualsInParameterDefault 310 Style/EmptyLines 294 Style/IndentationConsistency 267 Style/TrailingWhitespace 238 Style/ExtraSpacing 212 Style/SpaceBeforeBlockBraces 166 Style/MultilineOperationIndentation 144 Style/TrailingBlankLines 120 Style/EmptyLineBetweenDefs 101 Style/IndentationWidth 82 Style/SpaceAroundBlockParameters 40 Style/EmptyLinesAroundMethodBody 29 Style/EmptyLinesAroundAccessModifier 1 Style/RescueEnsureAlignment
* 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-1/+1
| | | | | | | 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.
* Overwrite resource_name with providesJohn Keiser2015-06-081-2/+0
|
* Add default_action and allowed_actions to Resource class, remove from LWRPJohn Keiser2015-06-011-1/+2
|
* Add use_automatic_resource_nameJohn Keiser2015-06-011-1/+1
|
* Make resource_name call providesJohn Keiser2015-06-011-1/+1
|
* Move resource_name up to Resource, and figure out its value automaticallyJohn Keiser2015-06-011-1/+0
|
* Add "provides" to all resourcesJohn Keiser2015-05-131-0/+2
|
* Bugfix: Allow action :nothing for windows_package, ips_package, ↵Julian C. Dunn2015-02-041-1/+1
| | | | | | paludis_package and reboot resources. Closes #2841.
* Improve the action and throw-label names.Chris Doherty2014-09-121-2/+5
|
* Rename actions to :request_reboot_on_successful_run and :reboot_interrupt_run.Chris Doherty2014-09-101-1/+1
|
* Remove the timestamp attribute, which isn't actually settable by the user.Chris Doherty2014-09-101-4/+0
|
* 'timeout' -> 'delay_mins'; add a run_context() shim for RebootPending.Chris Doherty2014-09-101-3/+3
|
* First-pass changes for a core reboot resource. Still uses run_state instead ↵Chris Doherty2014-09-101-0/+49
of run_context.