2

ホストから実行sudo puppet agent -t: host.internaltest.com

err: Could not retrieve catalog from remote server: Error 400 on SERVER: Another local or imported resource exists with the type and title Host[host.internaltest.com] on node host.internaltest.com

このマシンにはssl証明書が台無しにされていたので、マスターから一掃し、自動署名を使用して(悪いことは知っています!)sudo puppet agent -t、ssl証明書を再生成しましたが、このエラーもスローしました。さらに情報が必要な場合はお知らせください。人形のこの側面をあまり削除していません。

4

2 に答える 2

6

ほとんどの場合puppetmaster、この証明書はメモリ内にあります。クライアントとマスターの両方で証明書を消去する必要があります

#On client machine do this assuming puppet libdir = /var/lib/puppet

rm -rf /var/lib/puppet/ssl/*/*.pem

#On the puppet-master

puppet cert clean host.internaltest.com

# Restart puppet-master

/sbin/service puppetmasterd restart

# If you are using puppet-master behind passenger, you may need to restart httpd

/sbin/service httpd restart

# then run puppet agent on the client to regenerate the cert
于 2013-08-26T21:31:07.997 に答える