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

Re: [Pulp-list] client (alt) config



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> This made sense so I pushed the change.  Now when the in memory
> configuration is updated (as with --server) and environment variable
> PULP_CLEINT_ALTCONF is defined, only the *alt* configuration file is
> updated.  Only those sections/properties defined in the alt
> configuration are updated.

Slick!

Also note if you use sudo, you have to pass -E to it (credit to Jeff for
that too, I ran into it this morning).

>>
>>>
>>> Sent from my iPhone
>>>
>>> On Aug 25, 2010, at 7:53 PM, Jeff Ortel<jortel redhat com> wrote:
>>>
>>>> All,
>>>>
>>>> I enhanced the client configuration class to read and merge an
>>>> alternate configuration defined by the PULP_CLIENT_ALTCONF
>>>> environment variable. This variable (when specified) contains the
>>>> fully qualified path to a complete or partial client configuration
>>>> file. Properties from the alternate configuration are merged into the
>>>> standard configuration (/etc/pulp/client.conf) at runtime.
>>>>
>>>> I have PULP_CLIENT_ALTCONF=/home/jortel/.pulp/client.conf
>>>>
>>>> which contains:
>>>>
>>>> [server]
>>>> host = localhost.localdomain
>>>>
>>>> to override the server host to match the certificate.
>>>>
>>>> Hope this is helpful.
>>>>
>>>> -jeff
>>>>
>>>> _______________________________________________
>>>> Pulp-list mailing list
>>>> Pulp-list redhat com
>>>> https://www.redhat.com/mailman/listinfo/pulp-list
>>
>>
>>
>> _______________________________________________
>> Pulp-list mailing list
>> Pulp-list redhat com
>> https://www.redhat.com/mailman/listinfo/pulp-list
> 
> 
> 
> _______________________________________________
> Pulp-list mailing list
> Pulp-list redhat com
> https://www.redhat.com/mailman/listinfo/pulp-list


- -- 
Jason Dobies
RHCE# 805008743336126
Freenode: jdob
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMdpc0AAoJEOMmcTqOSQHCoGEH/jyo44SOvIYD/QaGWkVOnkEU
YhBmtENl0jgJ39dwKs5iUnTxUjpCSQZHxgV0+EOt3jzSeo13ea10xGHxQvylkeLT
mc3d4JrkmQv+Dmg98q7QDQFHgOoY2yoe/BKqdSPERlBPR9PdCvclWPBoEaCId41p
7efM81hsIEErWUh52gmevxvNW6ZM1jksXwWQYehGEnHCHhkXL3EzhqXJXYNNQE6V
twftrbx9WynzJ4XP+kiiCOxHyWZCEq99drnklElzcwQK3oVNjtmIpJtL2YMtYM+4
M5jekyuaEaMBWOIvtTS/bXjq3GGDDsLcUFpVlBrOaXGbX3Wrtb7dom+wNB1Eqaw=
=71Hy
-----END PGP SIGNATURE-----


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