Oops, I've been too fast. When I try to ssh::auth::key (realize
Ssh::Auth::Key["$keyname"]) and ssh::auth::server without
ssh::auth::client on a node, it fails on the master :

err: Failed to realize virtual resources Ssh::Auth::key[...@ssh]


I ran the server in debug and didn't get any more information about
this failure.


On Dec 31, 1:20 am, Andrew Schulman <google-groups-
and...@sneakemail.com> wrote:
> > I spent some time to find the subtle difference (regarding $home)
> > between :
>
> >         ssh::auth::server { "r...@ssh": }
>
> > And :
>
> >         ssh::auth::server { "r...@ssh":
> >                 user    => "root",
> >         }
>
> > ;)
>
> Please, enlighten me.  If it's not right, I'll correct it.

What surprised me and made me loose some time to understand was the
default "/home" you add in your code. I hate "hidden" defaults ...
Perhaps you could either : update your doc about this default or just
remove it ... My feeling is not to have defaults in the code since
this isn't reliable over time: just remove it and force users to code
it. This is just my advice and any default won't hurt me anymore since
I now force this parameter ;)

For my code, I use a lot of "xxx_prefix" parameters. I set them once
with default values and I can still change them later, on a case by
case basis.



> > Just find me a way of installing one key into several user's
> > authorized_keys and I'll be your happiest user ever !
>
> I'm looking into it.

I'd like to see how ... Will certainly be a good puppet lesson for
me ;)

--

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