saltstack-formulas/pip-formula — pull request #1 by andrew-vant (2014-10-31 17:57:01+00:00)
Title: Pip configure

This is a pip.configure state, for installing a system wide pip configuration file. We run our own PyPI server and found it useful to ensure that all our servers knew about it.

It works by adding a config file at /etc/pip/pip.conf, and setting that file to PIP_CONFIG_FILE in /etc/profile.d. The contents of the file come from pillar. If a cert option is specified for the config file, it will distribute the cert along with it.

So far as I know, pip itself doesn't support system-wide settings without workarounds such as this. If it does, I've been unable to find it documented anywhere.