summaryrefslogtreecommitdiff
path: root/kitchen-tests
diff options
context:
space:
mode:
authorLamont Granquist <454857+lamont-granquist@users.noreply.github.com>2021-11-30 12:32:37 -0800
committerGitHub <noreply@github.com>2021-11-30 12:32:37 -0800
commit93c80210750fa8ef383ef1395431e420e39302c7 (patch)
tree264f33c8641b43298fdc3971cd855927b017a52e /kitchen-tests
parent8b0cb6f585c9159cd2c5b2b9a78b27ca0039246f (diff)
parent8b267e2117bc8c4bad9667274a2665210a25adcd (diff)
downloadchef-93c80210750fa8ef383ef1395431e420e39302c7.tar.gz
Merge branch 'main' into use-powershell-exec-for-windows-feature-powershelluse-powershell-exec-for-windows-feature-powershell
Diffstat (limited to 'kitchen-tests')
-rw-r--r--kitchen-tests/cookbooks/end_to_end/recipes/_powershell_package.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/_powershell_package.rb b/kitchen-tests/cookbooks/end_to_end/recipes/_powershell_package.rb
new file mode 100644
index 0000000000..ba40b39794
--- /dev/null
+++ b/kitchen-tests/cookbooks/end_to_end/recipes/_powershell_package.rb
@@ -0,0 +1,10 @@
+powershell_package "PSReadline"
+
+powershell_package "multi package install" do
+ package_name %w{PSReadline chocolatey}
+end
+
+powershell_package "remove all packages" do
+ package_name %w{PSReadline chocolatey}
+ action :remove
+end