summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into yet-more-credsNoah Kantrowitz2018-07-02383-8961/+9167
|\ | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
| * fix Style/TrailingCommaInHashLiteralLamont Granquist2018-07-023-5/+5
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * fix some Style/StringLiterals introduced by the UnneededInterpolationLamont Granquist2018-07-021-8/+8
| | | | | | | | | | | | cop Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * fix Style/UnneededInterpolationLamont Granquist2018-07-0217-43/+43
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * fix Layout/LeadingCommentSpaceLamont Granquist2018-07-0252-129/+129
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * clean up whitespace againLamont Granquist2018-07-0227-242/+242
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * fix Layout/DotPositionLamont Granquist2018-07-0247-641/+641
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * fix Layout/AlignHash caused by Style/HashSyntaxLamont Granquist2018-07-021-1/+1
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * fix Layout/IndentHeredocLamont Granquist2018-07-02106-5915/+5915
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * fix Style/HashSyntaxLamont Granquist2018-07-02297-2409/+2409
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * Merge pull request #7406 from chef/lcg/suppress-turdfileLamont Granquist2018-06-291-1/+2
| |\ | | | | | | Suppress data_collector.json spec turd file
| | * Suppress data_collector.json spec turd fileLamont Granquist2018-06-291-1/+2
| | | | | | | | | | | | | | | | | | Our unit tests keep creating this file that dirties the repo Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | Merge pull request #7380 from chef/sp/ffi-powershellTim Smith2018-06-281-1/+1
| |\ \ | | | | | | | | Switch powershell_exec mixin to use FFI instead of COM
| | * \ Merge branch 'master' into sp/ffi-powershellStuart Preston2018-06-233-13/+169
| | |\ \ | | | |/ | | | | | | | | Signed-off-by: <>
| | * | Merge branch 'master' into sp/ffi-powershellStuart Preston2018-06-2038-542/+759
| | |\ \ | | | | | | | | | | | | | | | Signed-off-by: <>
| | * | | Fix up tests for appveyorStuart Preston2018-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Stuart Preston <stuart@chef.io>
| * | | | Merge pull request #7395 from chef/lcg/spec-to-remove-cookbook-mergingLamont Granquist2018-06-271-1/+6
| |\ \ \ \ | | | | | | | | | | | | add spec to force really remove cookbook merging
| | * | | | add spec to force really remove cookbook merginglcg/spec-to-remove-cookbook-mergingLamont Granquist2018-06-261-1/+6
| | | |_|/ | | |/| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | | Chefstyle fixTim Smith2018-06-262-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | | Use ALLUSERSPROFILE ENV variable vs. hardcoding the pathTim Smith2018-06-262-0/+22
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | | Add chocolatey_config and chocolatey_source resourcesTim Smith2018-06-262-0/+178
| |/ / / | | | | | | | | | | | | | | | | | | | | Allow a user to fully manage chocolatey and get it setup for airgapped environments using chef out of the box. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Rename the command to `knife config get`.Noah Kantrowitz2018-06-281-3/+3
| | | | | | | | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* | | | Don't need this anymore.Noah Kantrowitz2018-06-241-4/+0
| | | | | | | | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* | | | Apparently the block argument is already in use with `knife()` even though I ↵Noah Kantrowitz2018-06-242-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | can't figure out quite how. Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* | | | Add tests for `knife config`.Noah Kantrowitz2018-06-232-1/+194
|/ / / | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* | | Merge pull request #7382 from chef/lcg/deprecate-shell-out-methodsLamont Granquist2018-06-213-13/+169
|\ \ \ | |_|/ |/| | deprecate old shell_out APIs
| * | fix edge condition in old timeout APIslcg/deprecate-shell-out-methodsLamont Granquist2018-06-202-4/+4
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | deprecate old shell_out APIsLamont Granquist2018-06-192-12/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | note that this restores the behavior of shell_out_with_timeout() which downstream consumers may be using, and correctly treats custom resources and LWRPs the same, along with setting up removing all this backcompat weirdness in Chef-15. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Merge pull request #7354 from Intility/powershell_package_sourceStuart Preston2018-06-201-0/+219
|\ \ \ | |/ / |/| | Add powershell_package_source resource
| * | rename name property to source_nameTor Magnus Rakvåg2018-06-131-7/+7
| | | | | | | | | | | | Signed-off-by: Tor Magnus Rakvåg <tm@intility.no>
| * | some test coverageTor Magnus Rakvåg2018-06-121-0/+219
| | | | | | | | | | | | Signed-off-by: Tor Magnus Rakvåg <tm@intility.no>
* | | Merge pull request #7372 from chef/lcg/deprecate-shell-out-compact-timeoutLamont Granquist2018-06-1937-542/+540
|\ \ \ | |_|/ |/| | Unification of shell_out APIs
| * | fix infinite recursion and add more testsLamont Granquist2018-06-181-101/+103
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | Unification of shell_out APIsLamont Granquist2018-06-1537-450/+446
| | | | | | | | | | | | | | | | | | | | | converts all usage to just shell_out() from the numerous helper utilities that we've had previously. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Fix some more tests.Noah Kantrowitz2018-06-142-3/+3
| | | | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* | | Fix some tests.Noah Kantrowitz2018-06-141-1/+1
| | | | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* | | Allow targeting via the deprecation ID, either as a number or in the CHEF-n ↵Noah Kantrowitz2018-06-141-0/+27
| | | | | | | | | | | | | | | | | | | | | form we show in various places. This is because users might not actually know the deprecation key, so this is probably more approachable. Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* | | Feed the Rubocop.Noah Kantrowitz2018-06-141-2/+2
| | | | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* | | Switch map collisions to a dedicated deprecation type so they can be ↵Noah Kantrowitz2018-06-141-7/+7
| | | | | | | | | | | | | | | | | | silenced easily. Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* | | Add a test to check for colliding deprecation IDs in case we forget some day.Noah Kantrowitz2018-06-141-0/+11
| | | | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* | | Clean up some existing tests for the new API.Noah Kantrowitz2018-06-141-12/+7
| | | | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* | | Bad dev no cookie.Noah Kantrowitz2018-06-141-1/+1
| | | | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* | | Simplify the deprecations system a bit, and introduce ways to silence ↵Noah Kantrowitz2018-06-141-0/+93
|/ / | | | | | | | | | | deprecation warnings. Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* | fix for task is not idempotent when task name includes parent foldervasu11052018-06-141-0/+54
| | | | | | | | Signed-off-by: vasu1105 <vasundhara.jagdale@msystechnologies.com>
* | Merge pull request #7284 from ↵Bryan McLellan2018-06-111-0/+10
|\ \ | | | | | | | | | | | | MsysTechnologiesllc/dh/fix_mount_point_error_windows Mount: Fix errors on Windows when using the mount_point property
| * | specs added for mount_pointdheerajd-msys2018-06-111-0/+10
| |/ | | | | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* | Make kernel_module a preview resource until Chef 15Tim Smith2018-06-111-0/+5
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Add spec to test the resourceTim Smith2018-06-111-0/+43
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Enable preview_resource for ssh_known_hosts_entryTim Smith2018-06-111-0/+5
| | | | | | | | | | | | Add a spec that will fail once we bump the chef version to 15 Signed-off-by: Tim Smith <tsmith@chef.io>
* | Add unit testsTim Smith2018-06-111-0/+50
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>