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

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

On 08/25/2010 07:38 PM, jdobies redhat com wrote:
Awesome. If I pass --server to pulp-client will it update the override or just the default one?

Looks like the --server updates the default (/etc/pulp/client.conf). Since the alt config is merged into the config object in memory, the merged (def + alt overrides) will be written to the default.

The override is really designed for developers so not sure why you'd use --server and specify and alt config. Seems like the --server is mainly intended for end users. That said, I guess it would make sense to write to the alt config instead when one is specified. That would continue to preserve the default config in you git checkout.

Sent from my iPhone

On Aug 25, 2010, at 7:53 PM, Jeff Ortel<jortel redhat com>  wrote:


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:

host = localhost.localdomain

to override the server host to match the certificate.

Hope this is helpful.


Pulp-list mailing list
Pulp-list redhat com

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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