Google Groups Home
Help | Sign in
Message from discussion deployment error: no passwd entry for app!
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
nbrew  
View profile
 More options Dec 4 2007, 9:44 pm
From: nbrew <nathanh...@gmail.com>
Date: Tue, 4 Dec 2007 18:44:15 -0800 (PST)
Local: Tues, Dec 4 2007 9:44 pm
Subject: Re: deployment error: no passwd entry for app!

> *** [err :: web-01] sudo: no passwd entry for app!

Taking a look at cap's deploy.rb recipe it looks like you can set
the :runner var to another user. My Capfile looks like so:
<code>
load 'deploy' if respond_to?(:namespace) # cap2 differentiator
Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
load 'config/deploy'
set :runner, :user # set the sudo runner user to whatever the
connecting user is
</code>

HTH

Nathan


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google