From 5e850464b9133ce6b11647da25ac2f43ab5090be Mon Sep 17 00:00:00 2001 From: Michael Krotscheck Date: Thu, 14 Jan 2016 10:03:04 -0800 Subject: [PATCH] Added extra-index-url to pip optional settings This patch ensures that the 'extra-index-url' field is available in the global pip.conf file, so that project-config's configure_mirrors.sh script can use sed to replace it with the region appropriate wheel mirror. Change-Id: Ic9b069313c7a4e105cd086bdc4516c6c5826d53e --- modules/openstack_project/manifests/template.pp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/openstack_project/manifests/template.pp b/modules/openstack_project/manifests/template.pp index a9a727779f..509ba61bbd 100644 --- a/modules/openstack_project/manifests/template.pp +++ b/modules/openstack_project/manifests/template.pp @@ -240,6 +240,9 @@ class openstack_project::template ( class { '::pip': index_url => $pypi_index_url, trusted_hosts => $pypi_trusted_hosts, + optional_settings => { + 'extra-index-url' => '', + }, manage_pip_conf => true, }