fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] Dynamic hosts not supported by -H?


From: Jeff Forcier
Subject: Re: [Fab-user] Dynamic hosts not supported by -H?
Date: Thu, 12 Jul 2012 09:54:43 -0700

Hi Ryan,

I think Morgan mentioned this when you asked on IRC, but -H definitely
works on its own -- it is actually used to populate env.hosts itself,
and usually overrides any value you set at module level inside the
fabfile.

If you provide your Fabric version and the fabfile code you're trying
to use, plus the way you're invoking it + the resulting output, we can
try to help.

Thanks,
Jeff

On Thu, Jul 12, 2012 at 6:26 AM, Ryan Bales <address@hidden> wrote:
> Hello all,
>
> I'm trying to build a web app around a few fabric scripts, and I need to
> supply a dynamic list of hosts to the scripts.  I saw the -H switch, but it
> apparently only works when env.hosts is defined in the fabric script.  I
> also looked at command-line kwargs for methods, but the methods won't even
> be executed without env.hosts being defined.  Can someone point me in the
> right direction?
>
> Thanks,
> --
> Ryan Bales
> http://thinkt4nk.com/
> http://twitter.com/#!/thinkt4nk
> https://github.com/thinkt4nk
>
>
>
>
>
> --
> Ryan Bales
> http://thinkt4nk.com/
> http://twitter.com/#!/thinkt4nk
> https://github.com/thinkt4nk
>
>
>
> _______________________________________________
> Fab-user mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/fab-user
>



-- 
Jeff Forcier
Unix sysadmin; Python/Ruby engineer
http://bitprophet.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]