FAQ:Configure Repository Maps
From rPath Wiki
| FAQ | ||
| Question: How should I configure and use repository maps? | ||
Answer: Conary can be configured to map from the hostname part of a label to a complete URL for the associated repository. This mapping is handled with the addition of a repositoryMap configuration directive to the Conary configuration file.
For example, if the Conary repository hosting the foo.example.com label is available via the URL http://bar.something.example.com/conary/, the following repositoryMap line would be used:
repositoryMap foo.example.com http://bar.something.example.com/conary/
The includeConfigFile Directive
When multiple Conary client systems require access to the same set of repository maps, the includeConfigFile configuration directive can be used to allow all clients to operate from a single set of maps.
The includeConfigFile directive accepts a parameter in the form of a URL. For example:
includeConfigFile http://myrbuilder.example.com/conaryrc
When adding this directive to the appropriate Conary configuration file, you should also remove any repository maps which are referenced in the includeConfigFile entry, as they are no longer necessary.
