summaryrefslogtreecommitdiff
path: root/lib/chef/exceptions.rb
Commit message (Collapse)AuthorAgeFilesLines
* Autofixing Style/PercentLiteralDelimeterslcg/percentliteraldelimetersLamont Granquist2016-01-181-1/+1
| | | | | | See chef/chefstyle#11 for analysis and discussion. We select '{}' since audit of our source code shows that is the most common, and that used to be the dominant learning paradigm (e.g. in ruby 1.9 pickaxe book.
* Use double quotes by defaultThom May2016-01-141-6/+6
| | | | | | | 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-2/+2
| | | | chefstyle -a fixed 1044 occurrances
* non msi packages must explicitly provide a source attribute on installMatt Wrock2015-12-151-0/+1
|
* adds support to installer types inno, nsis, wise and installshield top the ↵Matt Wrock2015-12-071-0/+1
| | | | windows_package resource
* improve error message, add more testsLamont Granquist2015-10-261-5/+7
|
* validateLamont Granquist2015-10-261-0/+12
|
* follow comment of #3900sawanoboly2015-10-241-1/+5
|
* add option first_boot_attributes_from_filesawanoboly2015-10-241-0/+1
|
* Rename action_provider_class to less-wordy action_classjk/declare_action_classJohn Keiser2015-09-221-1/+1
|
* Use the dynamic policy builder everywheredanielsdeleo2015-09-171-0/+2
|
* Merge pull request #3728 from chef/jdm/win-groupsKartik Null Cating-Subramanian2015-08-041-0/+17
|\ | | | | Rewrite NetLocalGroup things to use FFI
| * Add Win32NetAPIError exception classJay Mundrawala2015-07-291-0/+17
| |
* | Add current_value_does_not_exist! API, pretty up the outputJohn Keiser2015-07-311-0/+3
|/
* Merge remote-tracking branch 'origin/master' into chef_handlerRanjib Dey2015-07-061-3/+7
|\ | | | | | | | | Conflicts: lib/chef/exceptions.rb
| * Make required name attributes workJohn Keiser2015-07-031-0/+1
| |
| * Merge pull request #3612 from chef/mcquin/chef-config/workstation-config-loaderClaire McQuin2015-06-301-1/+4
| |\ | | | | | | Move WorkstationConfigLoader into chef-config
| | * Move workstation_config_loader into chef-configmcquin/chef-config/workstation-config-loaderClaire McQuin2015-06-291-1/+4
| | |
| * | Rename NoProviderAvailable to ProviderNotFound, add aliasJohn Keiser2015-06-301-3/+2
| | |
| * | Call provides? when resolving, reduce number of calls to provides?John Keiser2015-06-301-0/+1
| |/ | | | | | | in Provider
* | add name class attribute for user defined handlers. more readable invalid ↵Ranjib Dey2015-06-231-1/+1
| | | | | | | | event handler exception name.
* | Merge remote-tracking branch 'origin/master' into HEADRanjib Dey2015-06-121-1/+8
|\ \ | |/ | | | | | | Conflicts: lib/chef/chef_class.rb
| * API V1 support for client creation.tylercloke2015-06-051-0/+1
| |
| * Made Chef::User.reregister give sane error message if no V0 on server.tylercloke2015-06-051-0/+1
| |
| * Added versioned Chef Object API support code and repaired Chef::User.create.tylercloke2015-06-051-0/+1
| | | | | | | | Also added Chef::User.create V1 API support. Chef::User.create will attempt to use V1 of the server API, and if it fails, it will fall back to V0.
| * Mark run failed on failed audits unless configured to audit as warning.Claire McQuin2015-05-271-1/+1
| | | | | | | | Remove unnecessary newline from RunFailedWrappingError backtrace
| * Implemented `knife user key create` and `knife client key create`.tylercloke2015-04-281-0/+1
| | | | | | | | Implemented using a common service class that contains most of the actual functionality outside of parsing and inheriting Chef::Knife.
| * Implemented the Key object corrosponding to key rotation API endpoint.tc/chef_key_objecttylercloke2015-04-201-0/+3
| |
* | [RFC-039] chef handler dslRanjib Dey2015-04-181-0/+1
|/
* ResourceStore does not deal with exceptionsJay Mundrawala2015-03-201-0/+15
| | | | | Also, added a more specific exception for when we cannot find the resource
* Make terminology consistent about audits versus controlsJulian C. Dunn2015-03-111-3/+3
|
* Implement RFC 027 File VerificationSteven Danna2015-02-171-0/+1
| | | | | | | | This implements usable-suppliable file content verification per RFC 027. Users can supplie a block, string, or symbol to the `verify` resource attribute. Blocks will be called, string will be executed as shell commands (respecing the same options as not_if and only_if), and symbols can be used to access built-in registered validations.
* peer review feedback for deprecation warningsLamont Granquist2015-02-091-2/+2
|
* Add Chef::Log.deprecation and associated wiringLamont Granquist2015-02-091-1/+5
|
* Add config to treat deprecation warnings as errorsdanielsdeleo2015-02-061-0/+2
|
* Correct syntax for using Chef::ExceptionsRob Redpath2015-01-251-2/+1
|
* Use Chef::Exception to raise exception if PIDfile and lockfile matchRob Redpath2015-01-251-0/+7
|
* Provide more info when cookbook metadata is not foundJay Mundrawala2015-01-131-2/+6
|
* Merging master to this branchtyler-ball2014-12-181-0/+1
|\
| * Rename Chef::Exceptions::LCMParserException to Chef::Exceptions::LCMParserJay Mundrawala2014-12-171-1/+1
| |
| * Fix bug where error parser what-if output causes resource to be considered ↵Jay Mundrawala2014-12-171-0/+1
| | | | | | | | | | | | | | converged. We now fall back to assuming the resource is not converged if we cannot parse information about a dsc resource.
* | Rescuing Exception blind was covering up an unexpected errortyler-ball2014-12-171-1/+1
| |
* | if in why_run, do not enter the audit phase - because people run why_run to ↵tyler-ball2014-12-171-2/+2
| | | | | | | | see converge statistics
* | Failing an audit example will now raise an error and make chef exit with a ↵tyler-ball2014-12-171-0/+5
| | | | | | | | non-zero code
* | Wiring audit event proxy to send events correctly to the audit_reportertyler-ball2014-12-171-0/+6
| |
* | Adding error handling so saving node doesn't prevent us from running audit ↵tyler-ball2014-12-171-3/+8
| | | | | | | | mode - decouples converge phase and audit phase more
* | Adding logic for exceptions from converge phase not interfering with audit ↵tyler-ball2014-12-171-0/+22
| | | | | | | | phase and vice-versa
* | Creating our own example group class to simplify adding examples to the spec ↵tyler-ball2014-12-171-0/+2
|/ | | | runner
* Use a real error class when metadata is not foundSeth Vargo2014-12-151-0/+5
|
* Execute and Script Resource improvementsLamont Granquist2014-12-081-0/+1
| | | | | | | | | | | - Warning on incorrect usage of the command resource in any script resource - Warning on code in script resource being nil - Specs added to force deprecation of incorrect usage in Chef-13 - Specs added around the (supported) incorrect usage in Chef-12 - Cleanup+Modernization of providers and specs - Fixed some global state bugs around the Chef::Log.level in the spec tests