summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Use double quotes by defaultThom May2016-01-14652-3787/+3787
| | | | | | | 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.
* Merge pull request #4398 from chef/lcg/trailing_commaThom May2016-01-14109-467/+467
|\ | | | | autocorrecting Style/TrailingComma
| * autocorrecting Style/TrailingCommalcg/trailing_commaLamont Granquist2016-01-13109-467/+467
| | | | | | | | chefstyle -a fixed 1044 occurrances
* | Merge pull request #4399 from chef/jr/knife-node-edit-save-policy_name-groupJordan Running2016-01-131-35/+56
|\ \ | | | | | | Correctly save policy_name and policy_group with `knife node edit`
| * | Correctly save policy_name and policy_group with `knife node edit`jr/knife-node-edit-save-policy_name-groupJordan Running2016-01-131-35/+56
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Fixes #4364 - Add specs for Chef::Knife::NodeEditor. - Add `policy_name` and `policy_group` to properties compared in `NodeEditor#updated?`. - Add `policy_name` and `policy_group` to Hash returned by `NodeEditor#view`. - Use `Node.from_hash` in `NodeEditor#apply_updates` instead of duplicating functionality. - Add some YARD docs for Chef::Knife::NodeEditor.
* | inflate an environment after loading itThom May2016-01-131-1/+1
| | | | | | | | this was missed in the great REST fire.
* | Split repository versioned and unversioned cookbooksjk/chef-fs-cookbook-refactorJohn Keiser2016-01-134-18/+89
| |
* | Split versioned cookbook dir from unversionedJohn Keiser2016-01-135-25/+77
| |
* | Split versioned and unversioned cookbooks into separate classesJohn Keiser2016-01-133-65/+106
|/
* Merge pull request #4396 from chef/ssd/duplicate-passwordThom May2016-01-131-1/+0
|\ | | | | Remove duplicate initialization of @password in user_v1
| * Remove duplicate initialization of @password in user_v1ssd/duplicate-passwordSteven Danna2016-01-131-1/+0
| |
* | Merge pull request #4395 from chef/lcg/lint-cops-againThom May2016-01-132-19/+1
|\ \ | | | | | | yet more lint cops
| * | yet more lint copslcg/lint-cops-againLamont Granquist2016-01-132-19/+1
| |/ | | | | | | | | | | | | fixes: Lint/AmbiguousOperator Lint/DuplicateMethods
* | Move server and repository fs objects to their own directoriesJohn Keiser2016-01-1364-2719/+2787
|/
* Merge pull request #4390 from chef/tm/fix_failLamont Granquist2016-01-132-2/+2
|\ | | | | Correct uses of fail to raise
| * Correct uses of fail to raisetm/fix_failThom May2016-01-132-2/+2
| | | | | | | | Style/SignalException - 3
* | Merge pull request #4344 from chef/if/warn-on-reload-resourceThom May2016-01-132-2/+2
|\ \ | |/ |/| Warn (v. info) when reloading resources
| * debug log messages upon reloaded resourcesif/warn-on-reload-resourceIsa Farnik2016-01-122-2/+2
| | | | | | | | tests for debug messages when reloading resources
* | Merge pull request #4388 from chef/lcg/more-rubocop-lintThom May2016-01-132-4/+4
|\ \ | |/ |/| more rubocop fixes
| * more rubocop fixeslcg/more-rubocop-lintLamont Granquist2016-01-123-5/+5
| | | | | | | | | | | | | | | | | | | | | | fixes: Lint/UnreachableCode Lint/NonLocalExitFromIterator Lint/LiteralInCondition Lint/EmptyEnsure Lint/DefEndAlignment Lint/CircularArgumentReference
* | Merge pull request #4384 from chef/lcg/really-fix-copsLamont Granquist2016-01-1230-489/+487
|\ \ | | | | | | really fix cops
| * | really fix copslcg/really-fix-copsLamont Granquist2016-01-1230-489/+487
| |/
* | Merge pull request #4373 from PatrickWalker/feature/issue-4268Thom May2016-01-121-1/+1
|\ \ | | | | | | Ensuring running Help returns an exit code of 0
| * | Ensuring running Help returns an exit code of 0Patrick Walker2016-01-111-1/+1
| | |
* | | Merge pull request #4355 from kisoku/fix_json_createThom May2016-01-121-1/+1
|\ \ \ | | | | | | | | don't blow up when json object has no recipes
| * | | don't blow up when json object has no recipesMathieu Sauve-Frankel2016-01-081-1/+1
| | | | | | | | | | | | | | | | fixes loading brand new node objects from json
* | | | Merge pull request #4343 from jordane/jordane/supports-use-platform-parserThom May2016-01-121-1/+1
|\ \ \ \ | | | | | | | | | | use platform parser with metadata supports
| * | | | Use platform version parser to parse supports in metadataJordan Evans2015-12-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Previously supports was using the cookbook version parser, which would not correctly parse all platform versions.
* | | | | Merge pull request #4378 from chef/choco_editsMatt Wrock2016-01-121-2/+18
|\ \ \ \ \ | | | | | | | | | | | | assert candidates exist for alternate sources and when pinning versions
| * | | | | assert candidates exist for alternate sources and when pinning versionsMatt Wrock2016-01-121-2/+18
| | | | | |
* | | | | | Merge pull request #4375 from chef/no_version_detectMatt Wrock2016-01-121-13/+1
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | fixes #4354 and fixes #4372 stop trying to auto detect versions for exe installers
| * | | | | fexes #4354 and fiexs #4372 stop trying to auto detect versions for exe ↵no_version_detectMatt Wrock2016-01-111-13/+1
| |/ / / / | | | | | | | | | | | | | | | installers
* | | | | Merge pull request #4381 from chef/lcg/useless-to-sLamont Granquist2016-01-1238-194/+194
|\ \ \ \ \ | | | | | | | | | | | | chefstyle: fix Lint/StringConversionInInterpolation
| * | | | | chefstyle: fix Lint/StringConversionInInterpolationLamont Granquist2016-01-1238-194/+194
| |/ / / / | | | | | | | | | | | | | | | useless use of `"#{foo.to_s}"`
* | | | | fix some lint copsLamont Granquist2016-01-121-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes the following offenses: 46 Lint/EndAlignment 21 Lint/BlockAlignment 3 Lint/SpaceBeforeFirstArg 1 Lint/DefEndAlignment
* | | | Merge pull request #4106 from chef/lcg/chocolatey-packageLamont Granquist2016-01-114-2/+273
|\ \ \ \ | | | | | | | | | | add chocolatey_package to core chef
| * | | | add pre-deprecated uninstall actionLamont Granquist2016-01-111-0/+2
| | | | |
| * | | | chocolatey multipackage providerlcg/chocolatey-packageLamont Granquist2016-01-084-2/+271
| | |/ / | |/| |
* | | | Convert all uses of Chef::REST to Chef::ServerAPItm/no_more_restThom May2016-01-1149-206/+313
|/ / / | | | | | | | | | | | | | | | | | | In the process, stop auto-expanding JSON in the HTTP client, and let individual classes control that themselves. Fixes #2737, Fixes #3518
* | | Typo fixZach Malone2016-01-061-1/+1
| |/ |/|
* | Merge pull request #4321 from chef/service_userMatt Wrock2015-12-295-61/+119
|\ \ | |/ |/| fix run_as_user of windows_service
| * fixes #3521 correcting format of user name passed to policy apis and does ↵Matt Wrock2015-12-295-61/+119
| | | | | | | | not clobber existing service rights of other users
* | Merge pull request #4333 from chef/vaultMatt Wrock2015-12-224-22/+41
|\ \ | | | | | | no longer wait on node search to refresh vault but pass created ApiCient instead
| * | no longer wait on node search to refresh vault but pass created ApiClient ↵Matt Wrock2015-12-224-22/+41
| |/ | | | | | | instead
* | Added profile provider for OS XNate Walck2015-12-174-0/+330
|/ | | | Fixed resource to use let
* Merge pull request #4312 from chef/cwebberOps/omnitruckThom May2015-12-161-1/+1
|\ | | | | Updates the template to use omnitruck-direct.chef.io
| * Updates the template to use omnitruck-direct.chef.iocwebberOps/omnitruckChristopher Webber2015-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the past we have had issues with SAN and SNI certificates on RHEL 5. As a result, the fix was to keep pointing at www.opcode.com which used a cert that matched what we needed. With recent changes to the infrastructure omnitruck.chef.io and omnitruck-direct.chef.io are now available. omnitruck.chef.io is fronted by Fastly and as a result has the same certificate issues that have kept us using www.opscode.com. omnitruck-direct.chef.io is what Fastly (and now www.opscode.com) hits to serve traffic. While we don't get the benefit of the CDN and caching goodness, this will still do a bit to clean up the codebase. Bootstrapping was verified on the following platforms: ``` opscode-centos-6.4 running (virtualbox) opscode-centos-7.1 running (virtualbox) debian-6.0.10 running (virtualbox) debian-7.9 running (virtualbox) debian-8.2 running (virtualbox) fedora-21 running (virtualbox) fedora-22 running (virtualbox) freebsd-9.3 running (virtualbox) freebsd-10.2 running (virtualbox) opensuse-13.2 running (virtualbox) opscode-ubuntu-12.04 running (virtualbox) opscode-ubuntu-14.04 running (virtualbox) centos-5.11 running (virtualbox) ```
* | Merge pull request #4277 from chef/mwrock/packageMatt Wrock2015-12-155-20/+38
|\ \ | | | | | | non msi packages must explicitly provide a source attribute on install
| * | fixing post merge test breaksMatt Wrock2015-12-151-1/+1
| | |
| * | merge cleanupmwrock/packageMatt Wrock2015-12-151-1/+5
| | |