diff options
author | rishichawda <rishichawda@users.noreply.github.com> | 2021-11-24 17:11:25 +0530 |
---|---|---|
committer | rishichawda <rishichawda@users.noreply.github.com> | 2021-11-24 17:25:37 +0530 |
commit | 3b266b13dcbb5f81c6c1dcd72b3c944fd34b80b6 (patch) | |
tree | 9878ca7fa1be91c8f3bca3f3ecc7fe8d99281437 | |
parent | 68da6f8f406f392edda66b00e726728f93a34c6f (diff) | |
download | chef-use-powershell-exec-in-powershell-resource.tar.gz |
add kitchen tests for powershell package resourceuse-powershell-exec-in-powershell-resource
Signed-off-by: rishichawda <rishichawda@users.noreply.github.com>
-rw-r--r-- | kitchen-tests/cookbooks/end_to_end/recipes/_powershell_package.rb | 10 |
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 |