summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Be way more explicit about how we're handling datatm/missed_migrationThom May2016-02-1515-19/+36
| | | | | | | This just codifies the behaviour we're actually using - that we're passing a json string and expecting a hash back. Also adds a deprecation warning to the use of Chef::JSONCompat.from_json
* Merge pull request #4573 from chef/lcg/bump-rubocopLamont Granquist2016-02-1234-72/+72
|\ | | | | pull rubocop 0.37.2 into chefstyle
| * fix alignmentlcg/bump-rubocopLamont Granquist2016-02-121-1/+1
| |
| * convert MultilineOperationIndentation style to "indented"Lamont Granquist2016-02-1228-59/+59
| | | | | | | | this looks nicer.
| * pull rubocop 0.37.2 into chefstyleLamont Granquist2016-02-1222-39/+39
| | | | | | | | | | this is from the same ruleset that we had, but the new code catches more conditions.
* | Inflating the cookbook version object in policyfile compat modeandy-dufour2016-02-121-1/+1
|/
* Merge pull request #4570 from chef/no_webMatt Wrock2016-02-111-3/+4
|\ | | | | do not include source parameter when removing a chocolatey package and ensure source is used on all functional tests
| * do not include source parameter when removing a chocolatey package and ↵no_webMatt Wrock2016-02-111-3/+4
| | | | | | | | ensure source is used on all functional tests
* | Merge pull request #4566 from chef/lcg/useless-run-commandLamont Granquist2016-02-111-3/+0
|\ \ | |/ |/| remove Chef::Mixin::Command use
| * remove Chef::Mixin::Command uselcg/useless-run-commandLamont Granquist2016-02-111-3/+0
| | | | | | | | | | | | | | | | | | | | | | we don't use run_command anywhere and this can apparently cause uninitialized constant issues when knife ssh is invoked via other knife commands (i.e. bootstrap) where apparently the transitive lazy deps aren't getting invoked correctly. there's another bug there, but we do not have any run_command statements in knife anymore so we should be able to drop this as a much easier fix. closes #4546
* | Merge pull request #4541 from chef/lcg/chefstyle-batchLamont Granquist2016-02-1163-115/+115
|\ \ | |/ |/| fix a batch of cops
| * autofixing auto-inserted delimiterslcg/chefstyle-batchLamont Granquist2016-02-0916-20/+20
| |
| * auto fixing some rubocopsLamont Granquist2016-02-0963-115/+115
| | | | | | | | | | | | | | | | | | Style/NegatedWhile Style/ParenthesesAroundCondition Style/WhileUntilDo Style/WordArray Performance/ReverseEach Style/ColonMethodCall
* | 12.7.2 release prep, removing some unstable acceptance tests so we can get a ↵tyler-ball2016-02-111-1/+1
| | | | | | | | successful release pipeline run
* | Merge pull request #4545 from chef/lcg/remove-rm-rfLamont Granquist2016-02-102-17/+41
|\ \ | | | | | | removing rm -rf in chef-solo recipe_url
| * | rubocop demands a sacrificelcg/remove-rm-rfLamont Granquist2016-02-101-1/+1
| | |
| * | use Pathname correctlyLamont Granquist2016-02-101-1/+2
| | |
| * | fix windows path issues correctlyLamont Granquist2016-02-101-1/+1
| | | | | | | | | | | | this really closes #1515 and #1751
| * | remove rm -rf in chef solo recipe_urlLamont Granquist2016-02-102-17/+40
| |/ | | | | | | | | | | | | | | | | | | | | - deprecates '-r' used for the recipe_url in chef-solo - adds --delete-entire-chef-repo option for users who want the old behavior back. - cleans up some old code closes #3802 closes #1515 closes #1751
* | VERSION change and CHANGELOG for 12.7.1 releasetyler-ball2016-02-101-1/+1
| |
* | Ensure we do streaming requests correctly everywheretm/site_download_regressionThom May2016-02-092-2/+2
| |
* | Use a streaming request to download cookbookThom May2016-02-091-2/+1
| | | | | | | | fixes #4549
* | Merge pull request #3183 from dansteen/masterThom May2016-02-091-2/+4
|\ \ | |/ |/| fix for https://github.com/chef/chef/issues/2113
| * fixed typo and reworked language per lamontDaniel Steen2016-01-191-2/+2
| |
| * Merge remote-tracking branch 'upstream/master'Daniel Steen2016-01-19724-11989/+24115
| |\
| * | fix for https://github.com/chef/chef/issues/2113Daniel Steen2015-04-021-2/+4
| | |
* | | autofixing some missed copsLamont Granquist2016-02-055-9/+9
| | | | | | | | | | | | second round of autofixing for some reason...
* | | autofixing whitespace copsLamont Granquist2016-02-05440-2469/+2329
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Chocolatey provider: Raise a MissingLibrary exception if we can't find ↵cd/choco-error-msgChris Doherty2016-02-031-8/+28
| | | | | | | | | | | | Chocolatey.
* | | Merge pull request #4523 from chef/chefstyle/fixesLamont Granquist2016-02-0311-14/+14
|\ \ \ | | | | | | | | auto-fixing some easy cops
| * | | auto-fixing some easy copschefstyle/fixesLamont Granquist2016-02-0311-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge branch 'smurawski/dsc_resource_converge_logging'Steven Murawski2016-02-032-12/+20
|\ \ \ \ | |/ / / |/| | |
| * | | Allow PowerShellTypeCoercions to translate Chef::Node::ImmutableArraysmurawski/dsc_resource_converge_loggingSteven Murawski2016-02-031-1/+2
| | | |
| * | | Allow PowerShellTypeCoercions to translate Chef::Node::ImmutableMashSteven Murawski2016-02-031-0/+1
| | | |
| * | | include verbose output from the set method and shared function for accessing ↵Steven Murawski2016-02-031-12/+18
| | | | | | | | | | | | | | | | verbose log info.
* | | | Allow multiple property_types in `is`jk/property-is-multiple-typesJohn Keiser2016-02-031-9/+20
| | | |
* | | | Merge pull request #4516 from chef/invalidMatt Wrock2016-02-036-93/+39
|\ \ \ \ | | | | | | | | | | fixes #4515 and use FormatMessage to get correct error messages from native API instead of retyping them with our fingers
| * | | | fixes #4515 and use FormatMessage to get correct error messages from native ↵invalidMatt Wrock2016-02-036-93/+39
| |/ / / | | | | | | | | | | | | API instead of retyping them with our fingers
* | | | Merge pull request #4481 from chef/jdm/fips-58Jay Mundrawala2016-02-034-7/+14
|\ \ \ \ | |/ / / |/| | | Allow use of command line fips switch for knife
| * | | Allow use of command line fips switch for knifeJay Mundrawala2016-01-284-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This somewhat worked before. However, it was just for knife bootstrap. It also didn't support --no-fips in the case where it was in your knife.rb and you decided that you didn't want to use fips for that one call. The assumption here is fips mode you run knife with is the fips mode the node will get. This has the nice property that validatorless bootstraps will talk to the chef server in fips mode if the node is requested to be in fips mode.
* | | | Merge pull request #4518 from coderanger/copyright-2016Noah Kantrowitz2016-02-02660-1295/+1295
|\ \ \ \ | | | | | | | | | | Copyright and author line update
| * | | | Some more author domain stragglers.Noah Kantrowitz2016-02-0210-11/+11
| | | | |
| * | | | Update for chef.io domain in copyright lines too.Noah Kantrowitz2016-02-023-3/+3
| | | | |
| * | | | Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-02447-595/+595
| | | | | | | | | | | | | | | 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-02401-401/+401
| | | | | | | | | | | | | | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi"
| * | | | Manual fix ups for things that didn't follow the usual pattern.Noah Kantrowitz2016-02-0214-14/+14
| | | | |
| * | | | Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-02646-675/+675
| | | | | | | | | | | | | | | 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"
* | | | | Bad test lead to a provider coverage failure for brand new machines with no ↵Nate Walck2016-02-021-4/+7
|/ / / / | | | | | | | | | | | | profiles installed
* | | | Merge pull request #4498 from chef/versionMatt Wrock2016-02-011-2/+2
|\ \ \ \ | | | | | | | | | | correct windows 10 major/minor version numbers
| * | | | correct windows 10 major/minor version numbersversionMatt Wrock2016-02-011-2/+2
| | | | |