Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | autofixing whitespace cops | Lamont Granquist | 2016-02-05 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | auto-fixing some easy copschefstyle/fixes | Lamont Granquist | 2016-02-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | 3 Performance/CaseWhenSplat: Place when conditions with a splat at the end of the when branches. 1 Style/ElseAlignment: Align else with if. 1 Style/EvenOdd: Replace with Fixnum#even?. 1 Style/MethodDefParentheses: Use def with parentheses when there are parameters. 3 Style/PercentQLiterals: Do not use %Q unless interpolation is needed. Use %q. 3 Style/SpaceAfterColon: Space missing after colon. 2 Style/SpaceAfterMethodName: Do not put a space between a method name and the opening parenthesis. 2 Style/Tab: Tab detected. 1 Style/TrailingUnderscoreVariable: Do not use trailing _s in parallel assignment. 1 Style/UnneededCapitalW: Do not use %W unless interpolation is needed. If not, use %w. | ||||
* | fixes #4515 and use FormatMessage to get correct error messages from native ↵invalid | Matt Wrock | 2016-02-03 | 1 | -16/+0 |
| | | | | API instead of retyping them with our fingers | ||||
* | Update all auth email address from opscode.com and getchef.com to chef.io. | Noah Kantrowitz | 2016-02-02 | 1 | -2/+2 |
| | | | 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 Kantrowitz | 2016-02-02 | 1 | -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" | ||||
* | Fix nil with properties: | John Keiser | 2016-01-27 | 1 | -0/+1 |
| | | | | | | 1. Warn when default values are invalid. 2. Never validate nil (on set or get) if there is no default. 3. Emit "will be invalid in Chef 13" warning when setting an invalid nil value. | ||||
* | add a comment on exception triggers | Lamont Granquist | 2016-01-19 | 1 | -1/+4 |
| | | | | | this is almost always a real networking issue and there is no bug in chef-client. | ||||
* | Autofixing Style/PercentLiteralDelimeterslcg/percentliteraldelimeters | Lamont Granquist | 2016-01-18 | 1 | -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 default | Thom May | 2016-01-14 | 1 | -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_comma | Lamont Granquist | 2016-01-13 | 1 | -2/+2 |
| | | | | chefstyle -a fixed 1044 occurrances | ||||
* | non msi packages must explicitly provide a source attribute on install | Matt Wrock | 2015-12-15 | 1 | -0/+1 |
| | |||||
* | adds support to installer types inno, nsis, wise and installshield top the ↵ | Matt Wrock | 2015-12-07 | 1 | -0/+1 |
| | | | | windows_package resource | ||||
* | improve error message, add more tests | Lamont Granquist | 2015-10-26 | 1 | -5/+7 |
| | |||||
* | validate | Lamont Granquist | 2015-10-26 | 1 | -0/+12 |
| | |||||
* | follow comment of #3900 | sawanoboly | 2015-10-24 | 1 | -1/+5 |
| | |||||
* | add option first_boot_attributes_from_file | sawanoboly | 2015-10-24 | 1 | -0/+1 |
| | |||||
* | Rename action_provider_class to less-wordy action_classjk/declare_action_class | John Keiser | 2015-09-22 | 1 | -1/+1 |
| | |||||
* | Use the dynamic policy builder everywhere | danielsdeleo | 2015-09-17 | 1 | -0/+2 |
| | |||||
* | Merge pull request #3728 from chef/jdm/win-groups | Kartik Null Cating-Subramanian | 2015-08-04 | 1 | -0/+17 |
|\ | | | | | Rewrite NetLocalGroup things to use FFI | ||||
| * | Add Win32NetAPIError exception class | Jay Mundrawala | 2015-07-29 | 1 | -0/+17 |
| | | |||||
* | | Add current_value_does_not_exist! API, pretty up the output | John Keiser | 2015-07-31 | 1 | -0/+3 |
|/ | |||||
* | Merge remote-tracking branch 'origin/master' into chef_handler | Ranjib Dey | 2015-07-06 | 1 | -3/+7 |
|\ | | | | | | | | | Conflicts: lib/chef/exceptions.rb | ||||
| * | Make required name attributes work | John Keiser | 2015-07-03 | 1 | -0/+1 |
| | | |||||
| * | Merge pull request #3612 from chef/mcquin/chef-config/workstation-config-loader | Claire McQuin | 2015-06-30 | 1 | -1/+4 |
| |\ | | | | | | | Move WorkstationConfigLoader into chef-config | ||||
| | * | Move workstation_config_loader into chef-configmcquin/chef-config/workstation-config-loader | Claire McQuin | 2015-06-29 | 1 | -1/+4 |
| | | | |||||
| * | | Rename NoProviderAvailable to ProviderNotFound, add alias | John Keiser | 2015-06-30 | 1 | -3/+2 |
| | | | |||||
| * | | Call provides? when resolving, reduce number of calls to provides? | John Keiser | 2015-06-30 | 1 | -0/+1 |
| |/ | | | | | | | in Provider | ||||
* | | add name class attribute for user defined handlers. more readable invalid ↵ | Ranjib Dey | 2015-06-23 | 1 | -1/+1 |
| | | | | | | | | event handler exception name. | ||||
* | | Merge remote-tracking branch 'origin/master' into HEAD | Ranjib Dey | 2015-06-12 | 1 | -1/+8 |
|\ \ | |/ | | | | | | | Conflicts: lib/chef/chef_class.rb | ||||
| * | API V1 support for client creation. | tylercloke | 2015-06-05 | 1 | -0/+1 |
| | | |||||
| * | Made Chef::User.reregister give sane error message if no V0 on server. | tylercloke | 2015-06-05 | 1 | -0/+1 |
| | | |||||
| * | Added versioned Chef Object API support code and repaired Chef::User.create. | tylercloke | 2015-06-05 | 1 | -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 McQuin | 2015-05-27 | 1 | -1/+1 |
| | | | | | | | | Remove unnecessary newline from RunFailedWrappingError backtrace | ||||
| * | Implemented `knife user key create` and `knife client key create`. | tylercloke | 2015-04-28 | 1 | -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_object | tylercloke | 2015-04-20 | 1 | -0/+3 |
| | | |||||
* | | [RFC-039] chef handler dsl | Ranjib Dey | 2015-04-18 | 1 | -0/+1 |
|/ | |||||
* | ResourceStore does not deal with exceptions | Jay Mundrawala | 2015-03-20 | 1 | -0/+15 |
| | | | | | Also, added a more specific exception for when we cannot find the resource | ||||
* | Make terminology consistent about audits versus controls | Julian C. Dunn | 2015-03-11 | 1 | -3/+3 |
| | |||||
* | Implement RFC 027 File Verification | Steven Danna | 2015-02-17 | 1 | -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 warnings | Lamont Granquist | 2015-02-09 | 1 | -2/+2 |
| | |||||
* | Add Chef::Log.deprecation and associated wiring | Lamont Granquist | 2015-02-09 | 1 | -1/+5 |
| | |||||
* | Add config to treat deprecation warnings as errors | danielsdeleo | 2015-02-06 | 1 | -0/+2 |
| | |||||
* | Correct syntax for using Chef::Exceptions | Rob Redpath | 2015-01-25 | 1 | -2/+1 |
| | |||||
* | Use Chef::Exception to raise exception if PIDfile and lockfile match | Rob Redpath | 2015-01-25 | 1 | -0/+7 |
| | |||||
* | Provide more info when cookbook metadata is not found | Jay Mundrawala | 2015-01-13 | 1 | -2/+6 |
| | |||||
* | Merging master to this branch | tyler-ball | 2014-12-18 | 1 | -0/+1 |
|\ | |||||
| * | Rename Chef::Exceptions::LCMParserException to Chef::Exceptions::LCMParser | Jay Mundrawala | 2014-12-17 | 1 | -1/+1 |
| | | |||||
| * | Fix bug where error parser what-if output causes resource to be considered ↵ | Jay Mundrawala | 2014-12-17 | 1 | -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 error | tyler-ball | 2014-12-17 | 1 | -1/+1 |
| | | |||||
* | | if in why_run, do not enter the audit phase - because people run why_run to ↵ | tyler-ball | 2014-12-17 | 1 | -2/+2 |
| | | | | | | | | see converge statistics |