summaryrefslogtreecommitdiff
path: root/lib/chef/exceptions.rb
Commit message (Collapse)AuthorAgeFilesLines
* Move workstation_config_loader into chef-configmcquin/chef-config/workstation-config-loaderClaire McQuin2015-06-291-1/+4
|
* 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
|
* 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
* fix ImmutableAttributeModification exceptionLamont Granquist2014-11-191-1/+6
|
* Dedicated error for content staging issues. Comment fixes in config.rb.Serdar Sutay2014-11-171-0/+7
|
* Chef-12 RC Provider ResolverLamont Granquist2014-10-241-1/+12
| | | | | makes resource and provider class resolution more dynamic. begins deprecation of Chef::Platform static mapping.
* This is what happens when you don't rebase correctlytyler-ball2014-09-191-0/+2
|
* Restoring https://github.com/opscode/chef/pull/1921 to master - somehow it ↵tyler-ball2014-09-191-2/+2
| | | | got deleted from the git log
* DscScript resource will raise an error if dsc is not availableJay Mundrawala2014-09-191-0/+2
|
* Initial dsc_configuration resource implementationAdam Edwards2014-09-191-0/+2
|
* Add InvalidSearchQuery exception for malformed searches.Claire McQuin2014-09-041-0/+2
|
* Updates based on PR comments.Serdar Sutay2014-08-121-1/+1
|
* * Dscl user provider changes to support Mac 10.7, 10.8 & 10.9.Serdar Sutay2014-08-121-0/+1
| | | | | | * Make the dscl user provider password handling idempotent. * Refactor / modernize dscl user provider unit tests. * Functional tests for dscl user provider.
* Make `name` a required attribute in metadatadanielsdeleo2014-08-121-0/+2
|
* remove JSON gem usageLamont Granquist2014-08-111-3/+8
| | | | | | | | | should fully convert to using ffi-yajl there are still issues with JSON gem monkeypatching interacting with chef-zero and the spec tests so we keep the requires here for the json gem and the ffi_yajl/json_gem here. when ohai and chef-zero are fixed, we an just require ffi_yajl.
* Merge pull request #1715 from opscode/lcg/file-provider-fixeslamont-granquist2014-08-091-0/+6
|\ | | | | Lcg/file provider fixes
| * validate checksums on downloadsLamont Granquist2014-07-301-0/+6
| |
* | Revert "remove #to_json Monkeytpatching"Lamont Granquist2014-08-091-2/+3
| | | | | | | | This reverts commit adbb0fa85cc45b93ba91dc3019094b312cafb35c.
* | remove #to_json MonkeypatchingLamont Granquist2014-08-091-3/+2
| |
* | Merge pull request #1177 from xeron/CHEF-3399Claire McQuin2014-08-071-0/+1
|\ \ | |/ |/| [CHEF-3399] Make data_bag_path an array like cookbook_path
| * [CHEF-3399] Raise in case of data bag items conflict. Tests.Ivan Larionov2014-05-311-0/+1
| |
* | Merge pull request #759 from bensomers/glob_rolesClaire McQuin2014-06-161-0/+1
|\ \ | | | | | | [CHEF-4193] Enabling storage of roles in subdirectories
| * | Added duplicate role detection for Role.from_diskBen Somers2014-06-081-0/+1
| |/ | | | | | | | | | | Now Role.from_disk raises an error when it detects two roles of the same type (.rb or .json) exist anywhere in the roles directory or subdirectories.
* | add error handling, set *_proxy instead of *_PROXYClaire McQuin2014-06-031-0/+2
|/
* add option to abandon chef run if blocked by another for too longClaire McQuin2014-05-051-0/+8
|