How are you?
I have a easy ssh_authorized_key like below
ssh_authorized_key { "hiu@$fqdn":
name => "hiu@$fqdn",
ensure => present,
type => ssh-rsa,
key => $keys,
user => hiu,
}
I manage to inject my public key onto the puppet clients, but the problem
is whenever the puppet agent refresh itself with -runinterval=XX, then, the
public key re-created again. as the result, I have a lot duplicated public
keys result like below in my authorized_keys. How can i avoid the
duplicated keys?
ssh-rsa XXXXXXX
ssh-rsa XXXXXXX
ssh-rsa XXXXXXX
please advise. thanks!
--
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/-/cKNAQRj2WCMJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.