-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

> Newbie here. Question regarding the reference type
> "ssh_authorized_key". Is this part of the designed behaviour?
> 
> I have:
> 
> ssh_authorized_key { "someuser":
>    ensure => present,
>    key => "<some id_rsa.pub key>",
>    type => "ssh-rsa",
>    user => "someuser"
> }
> 
> It keeps appending to /home/someuser/.ssh/authorized_keys

I assume the key param looks like "ssh-rsa AAA....." ? Afaik the
described behavior is the one you get if you do that. Don't add the
whole content, just add the key.

> Is this the best way to manage 1 or 2 "admin" type of users in the
> system?

imho definitely. I do it with up to 10...

cheers pete
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAktydkwACgkQbwltcAfKi3+jWwCdHdm+e3EAIXE1SvdUl4BegDOZ
vZYAoJyDXr34V33Y2pb6vHgopzoWV4c8
=OaJf
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to