summaryrefslogtreecommitdiff
path: root/lib/chef
Commit message (Collapse)AuthorAgeFilesLines
* Remove duplicate initialization of @password in user_v1ssd/duplicate-passwordSteven Danna2016-01-131-1/+0
|
* 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
| | |
| * | non msi packages must explicitly provide a source attribute on installMatt Wrock2015-12-155-18/+32
| | |
* | | Fix a typo comment. [ci skip]Noah Kantrowitz2015-12-151-1/+1
| | |
* | | If /policies and /policy_groups are not on this server version,John Keiser2015-12-152-2/+57
| | | | | | | | | | | | treat them like empty directories
* | | Don't feed policies to older versions of chef-zeroJohn Keiser2015-12-151-1/+8
| | |
* | | Add knife/ChefFS support for policyfiles and policy_groups.John Keiser2015-12-1534-129/+594
|/ /
* | Use properties in package resourcesjk/package-propertiesJohn Keiser2015-12-1530-312/+74
|/
* Merge pull request #4309 from chef/lcg/fix-tags-and-set-unlessThom May2015-12-153-6/+5
|\ | | | | tags always an array; fix set_unless
| * really always return an Arraylcg/fix-tags-and-set-unlessLamont Granquist2015-12-141-2/+1
| |
| * tags always an array; fix set_unlessLamont Granquist2015-12-143-5/+5
| | | | | | | | | | | | | | previously if the node had a { normal: { tags: nil } } that we read since the key existed (but was nil) we would not initialize with an array. replacing the code with a call to node.set_unless revealed that set_unless was similarly buggy. fixed both issues by fixing set_unless.
* | Only warn about potentially duplicate properties during the resource initializerjk/reduce-property-dup-warningJohn Keiser2015-12-143-11/+24
| |
* | sort propertiesLamont Granquist2015-12-141-3/+3
| |
* | remove unnecessary identity_attr declarationLamont Granquist2015-12-141-2/+0
| |
* | regex works fine inside the is arrayLamont Granquist2015-12-141-1/+1
| |