fab-user
[Top][All Lists]
Advanced

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

Re: [Fab-user] How is config file merged into environment?


From: Jeff Forcier
Subject: Re: [Fab-user] How is config file merged into environment?
Date: Fri, 26 Jun 2009 22:55:13 -0400

On Fri, Jun 26, 2009 at 10:36 PM, Steve Steiner
(listsin)<address@hidden> wrote:
>
> After the annoying deprecation warnings from Parimiko

What version are you on? You ought to be using 1.7.4 if at all
possible; I know there've been at least one or two irritating/nasty
bugs caused by using something other than that latest Paramiko
version. Just FYI. I don't seem to recall ever seeing Paramiko
deprecation warnings in my own usage.

> What idiotically simple thing am I missing?

Config files are really stupid simple right now and can only be used
to set...string values :( so lists are right out.

If you check out
http://github.com/bitprophet/fabric/blob/master/fabric/main.py#L34
you'll see that it's literally doing a partition or split on the '='
character, using the LHS as the key string and the RHS as a value
string. That's it.

This is not documented as far as I can tell (it was always a under the
radar kind of thing even back in 0.1.x, IIRC, though it may have been
mentioned in the old docs) and is, again, really simplistic. I'd like
to make it more useful, though that will likely have to wait till 1.0.

Will flag this thread so I remember to add a big fat TODO note about
this if there isn't one (I don't think there is). Apologies for the
confusion!

Best,
Jeff




reply via email to

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