Questions tagged «puppet»

2
验证SSL证书的指纹?
我正在和一个Puppet代理和一个Puppet主玩,我注意到Puppet证书实用程序为我的代理的公钥提供了指纹,因为它已经要求签名: $ puppet cert list "dockerduck" (SHA256) 1D:72:C5:42:A5:F4:1C:46:35:DB:65:66:B8:B8:06:28:7A:D4:40:FA:D2:D5:05:1A:8F:43:60:6C:CA:D1:FF:79 如何验证这是正确的密钥? 在Puppet代理上,使用a sha256sum给我带来了截然不同的东西: $ sha256sum /var/lib/puppet/ssl/public_keys/dockerduck.pem f1f1d198073c420af466ec05d3204752aaa59ebe3a2f593114da711a8897efa3 如果我没记错的话,证书会在实际密钥文件本身中提供其公共密钥的校验和。如何获得钥匙指纹?

2
如何使用Puppet管理puppet.conf?
我使用puppet来管理linux服务器和各种服务。除了人偶服务本身以外,它运作良好。 我的木偶课是这样的: class puppet { file { "/etc/puppet/puppet.conf": owner => 0, group => 0, mode => 0644, content => template("${module_name}/puppet.conf.erb"), } service { "puppet": name => "puppet", ensure => running, enable => true, hasstatus => true, hasrestart => true, require => File["/etc/puppet/puppet/conf"] subscribe => File["/etc/puppet/puppet/conf"] } } } 当对/etc/puppet/puppet.conf应用更改时,puppet注意到它需要重新启动puppet服务,因此,崩溃本身: Mar …
11 puppet 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.