On 08/25/2010 07:38 PM, [email protected] 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<[email protected]> 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 [email protected] https://www.redhat.com/mailman/listinfo/pulp-list
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Pulp-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/pulp-list
