summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* autocorrecting Style/TrailingCommalcg/trailing_commaLamont Granquist2016-01-13130-633/+633
| | | | chefstyle -a fixed 1044 occurrances
* Merge pull request #4393 from chef/lcg/duplicated-keysLamont Granquist2016-01-131-3/+6
|\ | | | | fix Lint/DuplicatedKey
| * fix Lint/DuplicatedKeylcg/duplicated-keysLamont Granquist2016-01-131-3/+6
| | | | | | | | | | | | | | | | | | | | | | so, this is a bit special... the API for "priority" is clearly broken. but this broken API comes from the service resource itself which appears to have been broken by design since at least 2010. just fixing the code for how it behaves and dropping in FIXMEs for now, since this uncovered a fairly massive API-breaking yak.
* | Merge pull request #4395 from chef/lcg/lint-cops-againThom May2016-01-131-3/+3
|\ \ | | | | | | yet more lint cops
| * | yet more lint copslcg/lint-cops-againLamont Granquist2016-01-131-3/+3
| |/ | | | | | | | | | | | | fixes: Lint/AmbiguousOperator Lint/DuplicateMethods
* | Move server and repository fs objects to their own directoriesJohn Keiser2016-01-132-11/+10
|/
* Merge pull request #4344 from chef/if/warn-on-reload-resourceThom May2016-01-131-2/+2
|\ | | | | Warn (v. info) when reloading resources
| * debug log messages upon reloaded resourcesif/warn-on-reload-resourceIsa Farnik2016-01-121-2/+2
| | | | | | | | tests for debug messages when reloading resources
* | Merge pull request #4388 from chef/lcg/more-rubocop-lintThom May2016-01-133-12/+8
|\ \ | |/ |/| more rubocop fixes
| * more rubocop fixeslcg/more-rubocop-lintLamont Granquist2016-01-123-12/+8
| | | | | | | | | | | | | | | | | | | | | | 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-127-43/+45
|\ \ | | | | | | really fix cops
| * | really fix copslcg/really-fix-copsLamont Granquist2016-01-127-43/+45
| |/
* | Merge pull request #4373 from PatrickWalker/feature/issue-4268Thom May2016-01-121-0/+8
|\ \ | | | | | | Ensuring running Help returns an exit code of 0
| * | Ensuring running Help returns an exit code of 0Patrick Walker2016-01-111-0/+8
| | |
* | | Merge pull request #4343 from jordane/jordane/supports-use-platform-parserThom May2016-01-121-0/+5
|\ \ \ | | | | | | | | use platform parser with metadata supports
| * | | add cookbook metadata that will fail testsJordan Evans2015-12-281-0/+5
| | | | | | | | | | | | | | | | | | | | This cookbook metadata uses the supports method, which currently parses versions using the cookbook version parser, when it should be using the platform parser.
* | | | Merge pull request #4378 from chef/choco_editsMatt Wrock2016-01-121-3/+31
|\ \ \ \ | | | | | | | | | | assert candidates exist for alternate sources and when pinning versions
| * | | | assert candidates exist for alternate sources and when pinning versionsMatt Wrock2016-01-121-3/+31
| | | | |
* | | | | Merge pull request #4375 from chef/no_version_detectMatt Wrock2016-01-122-81/+8
|\ \ \ \ \ | |_|_|_|/ |/| | | | 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-112-81/+8
| |/ / / | | | | | | | | | | | | installers
* | | | Merge pull request #4381 from chef/lcg/useless-to-sLamont Granquist2016-01-128-15/+15
|\ \ \ \ | | | | | | | | | | chefstyle: fix Lint/StringConversionInInterpolation
| * | | | chefstyle: fix Lint/StringConversionInInterpolationLamont Granquist2016-01-128-15/+15
| |/ / / | | | | | | | | | | | | useless use of `"#{foo.to_s}"`
* | | | fix some lint copsLamont Granquist2016-01-1217-21/+21
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | 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-113-1/+490
|\ \ \ | | | | | | | | add chocolatey_package to core chef
| * | | chocolatey multipackage providerlcg/chocolatey-packageLamont Granquist2016-01-083-1/+490
| | |/ | |/|
* | | Convert all uses of Chef::REST to Chef::ServerAPItm/no_more_restThom May2016-01-1141-280/+272
|/ / | | | | | | | | | | | | In the process, stop auto-expanding JSON in the HTTP client, and let individual classes control that themselves. Fixes #2737, Fixes #3518
* | Merge pull request #4315 from bbbco/masterThom May2016-01-041-0/+20
|\ \ | | | | | | Add extra tests around whether to skip with multiple guards
| * | Add extra tests around whether to skip with multiple guardsbbbco2015-12-151-0/+20
| | |
* | | Merge pull request #4340 from juliandunn/reenable-aix-mount-testBryan McLellan2015-12-311-20/+8
|\ \ \ | | | | | | | | Re-enable AIX mount functional test
| * | | Re-enable AIX mount functional test by using the NameFS type whichJulian C. Dunn2015-12-231-20/+8
| | |/ | |/| | | | | | | works inside both LPARs and WPARs.
* | | Merge pull request #4321 from chef/service_userMatt Wrock2015-12-292-29/+23
|\ \ \ | |/ / |/| | fix run_as_user of windows_service
| * | fixes #3521 correcting format of user name passed to policy apis and does ↵Matt Wrock2015-12-292-29/+23
| | | | | | | | | | | | not clobber existing service rights of other users
* | | Merge pull request #4333 from chef/vaultMatt Wrock2015-12-224-31/+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-31/+41
| | | | | | | | | | | | | | | | instead
* | | | Merge pull request #4078 from natewalck/profilesPhil Dibowitz2015-12-203-0/+329
|\ \ \ \ | |/ / / |/| | | Added profile provider for OS X
| * | | Added profile provider for OS XNate Walck2015-12-173-0/+329
| | | | | | | | | | | | | | | | Fixed resource to use let
* | | | Merge pull request #4330 from chef/shain/disable_aix_mount_testsSalim Alam2015-12-184-3/+9
|\ \ \ \ | | | | | | | | | | Disabled mount tests on AIX
| * | | | Filter out service test that cannot run inside a WPARshain/disable_aix_mount_testsScott Hain2015-12-183-2/+7
| | | | |
| * | | | Disabled mount tests on AIX since they only work in LPARs and we test in ↵Scott Hain2015-12-181-1/+2
| |/ / / | | | | | | | | | | | | WPARs. In the future we should find a way to test this code. One cannot create a ramdisk in a WPAR, since it shares filesystem with the LPAR host.
* | | | Consistent return value for started?Jay Mundrawala2015-12-181-0/+1
| | | |
* | | | tiny_server should retry Errno::EHOSTUNREACHJay Mundrawala2015-12-181-1/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AIX seems to raise Errno::EHOSTUNREACH when the server is not ready yet. Our tests on AIX fail with: ``` Errno::EHOSTUNREACH: No route to host - connect(2) for "localhost" port 9000 Shared Example Group: "a file with the wrong content" called from ./spec/support/shared/functional/file_resource.rb:936 Shared Example Group: "a configured file resource" called from ./spec/support/shared/functional/file_resource.rb:279 Shared Example Group: "a file resource" called from ./spec/functional/resource/remote_file_spec.rb:122 # ./spec/tiny_server.rb:91:in `started?' # ./spec/tiny_server.rb:82:in `block in block_until_started' # ./spec/tiny_server.rb:81:in `times' # ./spec/tiny_server.rb:81:in `block_until_started' # ./spec/tiny_server.rb:72:in `start' # ./spec/support/shared/functional/http.rb:45:in `start_tiny_server' # ./spec/functional/resource/remote_file_spec.rb:111:in `block (3 levels) in <top (required)>' ```
* | | Merge pull request #4320 from chef/jk/fix-package-nil-warningJay Mundrawala2015-12-161-5/+1
|\ \ \ | |/ / |/| | Fix failing package unit test
| * | Fix failing package unit testjk/fix-package-nil-warningJohn Keiser2015-12-161-5/+1
| | |
* | | Merge pull request #4277 from chef/mwrock/packageMatt Wrock2015-12-152-8/+18
|\ \ \ | |_|/ |/| | non msi packages must explicitly provide a source attribute on install
| * | fixing post merge test breaksMatt Wrock2015-12-151-2/+2
| | |
| * | merge cleanupmwrock/packageMatt Wrock2015-12-151-1/+1
| | |
| * | non msi packages must explicitly provide a source attribute on installMatt Wrock2015-12-151-5/+15
| |/
* | Add knife/ChefFS support for policyfiles and policy_groups.John Keiser2015-12-155-62/+427
|/
* Use properties in package resourcesjk/package-propertiesJohn Keiser2015-12-153-7/+1
|
* Don't run IPv6 tests on GCEjk/no-ipv6-on-gceJohn Keiser2015-12-154-3/+14
|