summaryrefslogtreecommitdiff
path: root/lib/chef/shell
Commit message (Collapse)AuthorAgeFilesLines
* autofixing whitespace copsLamont Granquist2016-02-053-35/+34
| | | | | | | | | | | | | | | | | | | | | | 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-022-2/+2
| | | 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-022-2/+2
| | | 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-023-4/+4
| | | 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-143-23/+23
| | | | | | | 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.
* really fix copslcg/really-fix-copsLamont Granquist2016-01-121-34/+34
|
* chefstyle: fix Lint/StringConversionInInterpolationLamont Granquist2016-01-121-1/+1
| | | | useless use of `"#{foo.to_s}"`
* Convert all uses of Chef::REST to Chef::ServerAPItm/no_more_restThom May2016-01-113-32/+5
| | | | | | | In the process, stop auto-expanding JSON in the HTTP client, and let individual classes control that themselves. Fixes #2737, Fixes #3518
* Update branding from opscode.com to chef.ioJulian C. Dunn2015-02-081-2/+2
|
* Refactoring ResourceCollection interface to be backwards compatiable, all ↵tyler-ball2014-10-162-4/+4
| | | | specs continue to pass, removing ResourceSet and ResourceList from consumer knowledge
* Finishing all code changes to split resource collection into 2 data containerstyler-ball2014-10-162-4/+4
|
* Make FileVendor configuration specific to the two implementationsdanielsdeleo2014-07-301-2/+2
| | | | | | | | | | | | | | | | FileVendor previously was configured by storing a closure/anonymous function as a class instance variable. This had the following downsides: * The API was too general, which caused a lot of code repetition * The block was lazily evaluated, which hid errors and made testing more difficult * The closures captured references to classes with references to large data structures, which complicates GC. Since we've only ever had the same two implementations of FileVendor, we can encapsulate configuration of the FileVendor factory by wrapping each configuration option in a method. As a side benefit, arguments to these methods will be eagerly evaluated, which makes it easier to detect errors.
* [CHEF-5314] Support override_runlist CLI option in shef/chef-shellRyan Cragun2014-05-201-3/+3
|
* [CHEF-4673] Change docs URL in chef-shell.Julian C. Dunn2013-11-061-1/+1
|
* Normalize whitespace on all filesSeth Vargo2013-09-261-1/+1
|
* [CHEF-2467] Ensure Shef loads run_context using correct run_list and ↵Steven Danna2013-04-181-2/+2
| | | | | | | | environment. Currently, Shef in client-mode will not properly process attributes set in roles or environments since we assume an empty runlist and the _default environment when building the node.
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-304-0/+1039
The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!