ich in Supermarkt Koch verfügbar „Fenster“ Kochbuch verwenden, wenn ich „windows_certificate“ Ressource, die ich unten Fehlermeldung erhalten verwendenHinzufügen Zertifikat Fenster Speicher mit Koch Fenster Kochbuch
STDOUT:
STDERR: C:\Users\pratikg\AppData\Local\Temp\chef-script20160712-8616-xwbm5w.ps1 : Exception calling ".ctor" with "3"
argument(s): "Cannot find the requested object.
"
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,chef-script20160712-8616-xwbm5w.ps1
---- End output of "C:\windows\system32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NonInteractive -NoProfile -Execu
tionPolicy Bypass -InputFormat None -File "C:/Users/pratikg/AppData/Local/Temp/chef-script20160712-8616-xwbm5w.ps1" ----
Ran "C:\windows\system32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NonInteractive -NoProfile -ExecutionPolicy Bypa
ss -InputFormat None -File "C:/Users/pratikg/AppData/Local/Temp/chef-script20160712-8616-xwbm5w.ps1" returned 1
Ich habe unten Code hinzugefügt, um meinen Kochbuch
windows_certificate "c:/temp/cert.pfx" do
pfx_password "password"
end
Im Folgenden finden Sie Versionsdetails
Cookbook version - 1.44.1
Chef-client version - 12.11.18
Platform Details - Windows 7 64bit & 2012 R2 64bit
Powershell version - 4.0