summaryrefslogtreecommitdiff
path: root/lib/chef/application/exit_code.rb
Commit message (Collapse)AuthorAgeFilesLines
* Align all our comments with the codeTim Smith2020-05-061-2/+2
| | | | | | Autocorrected with chefstyle after enabling that cop. It was very hard to read some complex autocorrected blocks w/o this. Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove copyright dateslcg/remove-copyright-datesLamont Granquist2020-04-131-1/+1
| | | | | | | | Legally incredibly dubious, particularly since we don't follow it strictly as policy, and we have git history instead, which does it right. This is just a waste of time and a cargo cult. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* More distro constant applicationsMarc Chamberland2019-05-231-2/+2
| | | | Signed-off-by: Marc Chamberland <mchamberland@pbsc.com>
* Convert require to require_relativeLamont Granquist2019-05-081-1/+1
| | | | | | | This gives a speed boost since rubygems does not have to scan through every gem in the gemset in order to find the file. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Update more help descriptionsTim Smith2019-05-021-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Fix up main binary help messagesTim Smith2019-05-021-4/+5
| | | | | | | | Periods after each sentence Use the branding better Fix some weird capitalization Signed-off-by: Tim Smith <tsmith@chef.io>
* WIP: Remove audit mode from chef-clientTim Smith2019-03-111-9/+1
| | | | | | | | This just gives us a line count to the change and perhaps a starting point for when we do this in Chef 15 Signed-off-by: Tim Smith <tsmith@chef.io> Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix Style/MutableConstantLamont Granquist2018-07-021-2/+2
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* removing the use of Chef::Exception::DeprecatedExitCodesmurawski/exit_status_defaultSteven Murawski2017-04-041-9/+1
| | | | Signed-off-by: Steven Murawski <steven.murawski@gmail.com>
* use rfc exit codesSteven Murawski2017-04-041-72/+11
| | | | Signed-off-by: Steven Murawski <steven.murawski@gmail.com>
* fix specs: RedundantReturn, RedundantSelf, RedundantBeginLamont Granquist2017-02-131-5/+3
| | | | | | department of redundancy department Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Merge pull request #5547 from chef/lcg/unified-integerLamont Granquist2016-11-161-1/+1
|\ | | | | Core: fix Lint/UnifiedInteger cop
| * fix Lint/UnifiedInteger copLamont Granquist2016-11-151-1/+1
| | | | | | | | | | | | believe this becomes necessary for ruby 2.4/3.0 Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Structure deprecations with additional metadatatm/deprecation_with_urlThom May2016-11-161-2/+2
|/ | | | | | | | This adds URLs to each class of deprecation, and correctly prints and formats them for maximum user efficiency. We also provide the URL to the data collector for Visibility to ingest. Signed-off-by: Thom May <thom@chef.io>
* Adding support for rfc 62 exit code 213Jeremy J. Miller2016-10-061-0/+9
| | | | Signed-off-by: Jeremy J. Miller <jm@chef.io>
* * define exit codesSteven Murawski2016-05-231-0/+226
* exit code functional specs * audit exit codes * reboot now/reboot failed/reboot pending exit codes * Deal with forked and unforked process and get the right exit code * Reboot Now should really be reboot scheduled * pass exception rather than exit code * updated with sigint and sigterm * support legacy fatal!("", 2) behavior * fixup all fatal! and exit! calls