Hi guys, I have kind of the same problem as Clinton. I'm using capistrano to deploy puppet manifests and run puppet standalone, we currently have one user account for each sysadmin, so capistrano v2 behavior of using the current user is what I was expecting. v2 behavior was set in https://github.com/capistrano/capistrano/blob/legacy-v2/lib/capistrano/ssh.rb#L69and https://github.com/capistrano/capistrano/blob/legacy-v2/lib/capistrano/server_definition.rb#L11, so my question, was this behavior intentionally left out or is just missing? If it's missing I would be glad to write a PR.
In the meanwhile I'm working around this doing ENV['USER'] || ENV['USERNAME'] || "not-specified" Em quarta-feira, 16 de outubro de 2013 12h13min56s UTC-3, Jonathan Rochkind escreveu: > > That's exactly what I've been doing. If anyone has a different way of > doing it that they like better, I would be curious to hear about it. > > > On 10/16/13 11:09 AM, Clinton Blackburn wrote: > > Hi guys, > > > > Thanks for your responses. I was not subscribed to email updates on this > > post, so I never received them. My fault. > > > > We ended up creating a deploy user and adding each > > developer's/deployer's public key to authorized_keys. This solution is > > not ideal from a key management standpoint, but it does prevent us from > > running into directory permissions issues we had in the past (which we > > had to resolve by prepending sudo to the default shell). I think we will > > stick with it for the time being. > > > > Thanks, > > Clinton > > > > -- > > -- > > * You received this message because you are subscribed to the Google > > Groups "Capistrano" group. > > * To post to this group, send email to > > [email protected]<javascript:> > > * To unsubscribe from this group, send email to > > [email protected] <javascript:> For more options, visit > this > > group at http://groups.google.com/group/capistrano?hl=en > > --- > > You received this message because you are subscribed to the Google > > Groups "Capistrano" group. > > To unsubscribe from this group and stop receiving emails from it, send > > an email to [email protected] <javascript:>. > > For more options, visit https://groups.google.com/groups/opt_out. > -- -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en --- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
