FAQ
hi Admin,

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.

Search Discussions

  • Wen1023 wu at Sep 23, 2012 at 3:35 am
    hi

    please delete the common information from the key value ,may be you used
    ssh-keygen -t rsa -C "XXX".

    2012/9/21 Hiu <yenonn@gmail.com>
    hi Admin,

    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.
    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    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.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppuppet-users @
categoriespuppet
postedSep 21, '12 at 3:11a
activeSep 23, '12 at 3:35a
posts2
users2
websitepuppetlabs.com

2 users in discussion

Hiu: 1 post Wen1023 wu: 1 post

People

Translate

site design / logo © 2022 Grokbase