Hi,
I'm new to Puppet. And I'm trying out an ssh module:
https://github.com/saz/puppet-ssh.
It collects ssh keys like this:
class ssh::knownhosts {
Sshkey <<| |>> {
ensure => present,
}
notify{"knownhosts class: $fqdn $hostname $ipaddress ":}
}
I can see it echoes the host key of the host the puppet agent runs on. But
the /etc/ssh/ssh_known_hosts file isn't actually written - I can add an
sshkey resource "manually" in a manifest somewhere and then puppet does
write the file though.
I reckon when compiling the catalog, Puppet doesn't actually use the
collected resource to include in another host's configuration. But why not?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/xIajfCY6vaYJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.