summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCrae <john.mccrae@progress.com>2021-02-03 09:01:33 -0800
committerJohn McCrae <john.mccrae@progress.com>2021-02-03 09:01:33 -0800
commita3a20ba1f2c41ef8a86925d35ce55177f3acf84e (patch)
treeb6aa62433b3073302336482c36aa14e14677c299
parentebed207eb9b1d152a73f9bbe0b3c9de1b043acf2 (diff)
downloadchef-jfm/windows_certificate_resource.tar.gz
renamed the pfx to keep the spellchecker from checking it, changed single quotes to double-quotes in the windows.rb test file, added 'northwindbaking' to the spellcheck filejfm/windows_certificate_resource
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r--cspell.json1
-rw-r--r--kitchen-tests/cookbooks/end_to_end/files/certs/steveb.pf_ (renamed from kitchen-tests/cookbooks/end_to_end/files/certs/steveb.pfx)bin4405 -> 4405 bytes
-rw-r--r--kitchen-tests/cookbooks/end_to_end/recipes/windows.rb22
3 files changed, 12 insertions, 11 deletions
diff --git a/cspell.json b/cspell.json
index eca68cc523..f93536ed54 100644
--- a/cspell.json
+++ b/cspell.json
@@ -1107,6 +1107,7 @@
"noprogressbar",
"norestart",
"NORESTART",
+ "northwindbaking",
"nospace",
"nospinner",
"notapplicable",
diff --git a/kitchen-tests/cookbooks/end_to_end/files/certs/steveb.pfx b/kitchen-tests/cookbooks/end_to_end/files/certs/steveb.pf_
index 097c7075ff..097c7075ff 100644
--- a/kitchen-tests/cookbooks/end_to_end/files/certs/steveb.pfx
+++ b/kitchen-tests/cookbooks/end_to_end/files/certs/steveb.pf_
Binary files differ
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb b/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb
index c2d3758378..a97899f586 100644
--- a/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb
+++ b/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb
@@ -135,37 +135,37 @@ user "phil" do
action :remove
end
-directory 'C:\mordor' do
- rights :full_control, 'everyone'
+directory "C:\mordor" do
+ rights :full_control, "everyone"
end
cookbook_file "c:\\mordor\\steveb.pfx" do
- source '/certs/steveb.pfx'
+ source "/certs/steveb.pf_"
action :create_if_missing
end
-windows_certificate 'c:/mordor/steveb.pfx' do
- pfx_password '1234'
+windows_certificate "c:/mordor/steveb.pfx" do
+ pfx_password "1234"
action :create
user_store true
- store_name 'MY'
+ store_name "MY"
end
cookbook_file "c:\\mordor\\ca.cert.pem" do
- source '/certs/ca.cert.pem'
+ source "/certs/ca.cert.pem"
action :create_if_missing
end
-windows_certificate 'c:/mordor/ca.cert.pem' do
- store_name 'ROOT'
+windows_certificate "c:/mordor/ca.cert.pem" do
+ store_name "ROOT"
end
cookbook_file "c:\\mordor\\chef.northwindbaking.com.chained.cert.pem" do
- source '/certs/chef.northwindbaking.com.chained.cert.pem'
+ source "/certs/chef.northwindbaking.com.chained.cert.pem"
action :create_if_missing
end
-windows_certificate 'c:/mordor/chef.northwindbaking.com.chained.cert.pem' do
+windows_certificate "c:/mordor/chef.northwindbaking.com.chained.cert.pem" do
action :create
end