我正嘗試使用Puppet在Windows上安裝.NET。我正在使用rismoney-chocolatey
模塊。然而,當我嘗試安裝該模塊:無法在Windows上安裝巧克力模塊(證書錯誤?)
puppet module install rismoney-chocolatey
我收到以下錯誤:
[mNotice: Preparing to install into C:/ProgramData/PuppetLabs/puppet/etc/modules ...[0m
[mNotice: Downloading from https://forgeapi.puppetlabs.com ...[0m
Failed to add /C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
Failed to add /C=ZA/ST=Western Cape/L=Durbanville/O=Thawte/OU=Thawte Certification/CN=Thawte Timestamping CA
Failed to add /C=US/ST=Washington/L=Redmond/O=Microsoft Corporation/CN=Microsoft Root Certificate Authority 2011
Failed to add /C=DE/O=TC TrustCenter GmbH/OU=TC TrustCenter Class 2 CA/CN=TC TrustCenter Class 2 CA II
Failed to add /C=DE/ST=Hamburg/L=Hamburg/O=TC TrustCenter for Security in Data Networks GmbH/OU=TC TrustCenter Class 3 CA/[email protected]
Failed to add /C=DE/ST=Hamburg/L=Hamburg/O=TC TrustCenter for Security in Data Networks GmbH/OU=TC TrustCenter Class 2 CA/[email protected]
Failed to add /C=DE/O=TC TrustCenter GmbH/OU=TC TrustCenter Universal CA/CN=TC TrustCenter Universal CA I
Failed to add /C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=(c) 1999 VeriSign, Inc. - For authorized use only/CN=VeriSign Class 3 Public Primary Certification Authority - G3
Failed to add /C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
Failed to add /C=ZA/ST=Western Cape/L=Durbanville/O=Thawte/OU=Thawte Certification/CN=Thawte Timestamping CA
Failed to add /C=US/ST=Washington/L=Redmond/O=Microsoft Corporation/CN=Microsoft Root Certificate Authority 2011
Failed to add /C=DE/O=TC TrustCenter GmbH/OU=TC TrustCenter Class 2 CA/CN=TC TrustCenter Class 2 CA II
Failed to add /C=DE/ST=Hamburg/L=Hamburg/O=TC TrustCenter for Security in Data Networks GmbH/OU=TC TrustCenter Class 3 CA/[email protected]
Failed to add /C=DE/ST=Hamburg/L=Hamburg/O=TC TrustCenter for Security in Data Networks GmbH/OU=TC TrustCenter Class 2 CA/[email protected]
Failed to add /C=DE/O=TC TrustCenter GmbH/OU=TC TrustCenter Universal CA/CN=TC TrustCenter Universal CA I
Failed to add /C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=(c) 1999 VeriSign, Inc. - For authorized use only/CN=VeriSign Class 3 Public Primary Certification Authority - G3
[mNotice: Installing -- do not interrupt ...[0m
C:/ProgramData/PuppetLabs/puppet/etc/modules
└── rismoney-chocolatey ([0;36mv0.0.3[0m)
該模塊則不能使用 - 如果我嘗試應用它使用它的傀儡腳本,我得到以下錯誤:
package { 'DotNet4.5':
ensure => installed,
provider => 'chocolatey',
}
給出:
Error: /Package[DotNet4.5]: Provider chocolatey is not functional on this host
(我曾嘗試安裝GeoTrust CA證書,如troubleshooting documents中所述,但這並未解決問題)。
現在有一個支持'puppetlabs/chocolatey'模塊。請參閱https://forge.puppet.com/puppetlabs/chocolatey – ferventcoder 2016-11-17 17:52:48