Hello,

I'm trying to reuse an ssh_authorized_key, but I'm having some problems.
 There was a recent thread about using the same key for different users, but
I didn't see any resolution there. My issue is a bit different.  I'm
currently using this key:

class ssh_keys::all {
    class bob {
        ssh_authorized_key {"bob":
            name => "b...@somehost",
            ensure => present,
            key => "*snip*"
            user => "root",
            type => ssh-dss
        }
    }
}

I'm trying to use this same key for authorization using svn, overriding user
and options like so:


    class repobob inherits ssh_keys::all::bob {
        Ssh_authorized_key[bob] {
            user    => "repo",
            options => "command=\"svnserve -t --tunnel-user=bob\"",
        }
    }
    include repobob

When I include the repopbob, oddly enough, the options for the key in
/root/.ssh/authorized_keys change, and no key is added to the repo user.
 This seems like an appropriate use, but maybe I'm doing something wrong.
 Any ideas?

-- 
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