summaryrefslogtreecommitdiff
path: root/lib/chef/chef_class.rb
Commit message (Collapse)AuthorAgeFilesLines
* autofixing whitespace copsLamont Granquist2016-02-051-1/+4
| | | | | | | | | | | | | | | | | | | | | | 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
* 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-5/+5
| | | | | | | 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.
* Warn when user sets a property of an inline resource to itself.John Keiser2015-12-101-11/+1
| | | | (User will expect "x x" to grab the parent property.)
* Add test for nonzero systemctl exit codeJohn Keiser2015-09-281-0/+5
|
* Find the spot the user called and use that as the deprecation locationJohn Keiser2015-09-251-1/+12
|
* Rename log.deprecation to log_deprecationJohn Keiser2015-09-011-10/+17
|
* Pass deprecations through formatter instead of logsJohn Keiser2015-09-011-0/+16
|
* Merge pull request #3242 from ranjib/chef_handlerRanjib Dey2015-07-161-0/+7
|\ | | | | [RFC-039] chef handler dsl
| * Merge remote-tracking branch 'origin/master' into chef_handlerRanjib Dey2015-06-241-4/+4
| |\
| * | add name class attribute for user defined handlers. more readable invalid ↵Ranjib Dey2015-06-231-1/+3
| | | | | | | | | | | | event handler exception name.
| * | Merge remote-tracking branch 'origin/master' into HEADRanjib Dey2015-06-121-12/+62
| |\ \ | | | | | | | | | | | | | | | | Conflicts: lib/chef/chef_class.rb
| * | | [RFC-039] chef handler dslRanjib Dey2015-04-181-0/+6
| | | |
* | | | Memoize enabled_handlers so it is not recomputedjk/separate-priority-mapJohn Keiser2015-07-061-2/+2
| | | |
* | | | Re-separate priority map and DSL handler map so that provides has veto power ↵John Keiser2015-07-061-7/+15
| |_|/ |/| | | | | | | | over priority
* | | Sort identical "provides" alphabetically (for backcompat)John Keiser2015-06-181-4/+4
| |/ |/| | | | | - Warn when multiple providers try to provide the same thing
* | Overwrite resource_name with providesJohn Keiser2015-06-081-9/+1
| |
* | Make use_automatic_resource_name automaticJohn Keiser2015-06-081-7/+47
| |
* | Fix ifconfig platform version filterJohn Keiser2015-06-021-6/+4
| |
* | Use the central priority map for `provides`John Keiser2015-06-021-6/+27
|/
* add resource_resolver and resource_priority_mapLamont Granquist2015-04-151-0/+130
also wire them up through the Chef class.