summaryrefslogtreecommitdiff
path: root/lib/chef/runner.rb
Commit message (Collapse)AuthorAgeFilesLines
* autofixing whitespace copsLamont Granquist2016-02-051-4/+3
| | | | | | | | | | | | | | | | | | | | | | 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
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-021-3/+3
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* Replace all Opscode copyrights with Chef Software.Noah Kantrowitz2016-02-021-1/+1
| | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi"
* 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-4/+4
| | | | | | | 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.
* Work with cheffish (which has no before_notifications)John Keiser2015-12-091-2/+4
|
* immediately_before -> beforeJohn Keiser2015-12-091-6/+6
|
* Add immediately_before notificationJohn Keiser2015-12-091-0/+23
|
* [CHEF-4157] split Platform to prune dep graphdanielsdeleo2013-05-031-1/+0
| | | | | | | Many files/classes depend on Chef::Platform just to use the `windows?` method. The part of Chef::Platform that maps providers to platforms has very heavy dependencies (which may trigger circular deps when loading some files) which are not needed for most users of Chef::Platform.
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-301-0/+118
| | | | The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!
* big refactor of the repo layout. move to a chef gem and a chef-server gem ↵Ezra Zygmuntowicz2008-10-081-100/+0
| | | | all with proper deps
* We need to build_provider for every action - it might change, and we need to ↵Adam Jacob2008-10-081-1/+1
| | | | do load_current_resources every time, or miss state changes in single statements
* build_provider no runs load_current_resourceAdam Jacob2008-10-021-1/+2
|
* Updating example recipes and improving log outputAdam Jacob2008-10-021-2/+2
|
* Supporting multiple actionsAdam Jacob2008-10-021-14/+17
|
* Merge branch 'master' of git@github.com:fujin/chefAdam Jacob2008-09-231-1/+1
|\
| * Adjust junglist recipeAJ Christensen2008-09-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Made the runner report back its errors, instead of throwing a useless stack: aj@junglist (branch: master) ~/chef$ sudo ./bin/chef-client -l info -c ./examples/config/chef-solo.rb INFO: Starting Chef Run ERROR: file[/tmp/glen] (/home/aj/git/chef/examples/config/cookbooks/tempfile/recipes/default.rb line 1) had an error: ./bin/../lib/chef/runner.rb:85:in `converge': undefined local variable or method `e' for #<Chef::Runner:0xb6bd5360> (NameError) from ./bin/../lib/chef/resource_collection.rb:59:in `each' from ./bin/../lib/chef/resource_collection.rb:58:in `each' from ./bin/../lib/chef/runner.rb:59:in `converge' from ./bin/../lib/chef/client.rb:141:in `converge' from ./bin/../lib/chef/client.rb:52:in `run' from ./bin/chef-client:65
* | No more 'e' in the raise, since we're catching any exceptionAdam Jacob2008-09-231-2/+2
|/
* Rasing exceptions, expanding the path for the source lineAdam Jacob2008-09-081-2/+2
|
* Lets throw some more reasonable errorsAdam Jacob2008-09-081-17/+22
|
* Added template support, changed license to Apache v 2Adam Jacob2008-08-161-14/+12
|
* chef compilesAdam Jacob2008-04-271-0/+93