summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYolanda Robla <yolanda.robla-mota@hp.com>2015-08-03 13:41:35 +0200
committerYolanda Robla <yolanda.robla-mota@hp.com>2015-08-03 13:43:34 +0200
commit652b6efb40044a56888b962c752b01ddf512c2ab (patch)
tree969db0ceb3ff842aa7f1b5325f7bbf8b277a6acb
parentd461920848389256939bd32ce1bc4d2b10b339ef (diff)
Fix warning on puppet-pip about trusted-hosts
Notes
Notes (review): Code-Review+2: James E. Blair <corvus@inaugust.com> Workflow+1: James E. Blair <corvus@inaugust.com> Code-Review+2: Monty Taylor <mordred@inaugust.com> Verified+2: Jenkins Code-Review+1: Ricardo Carrillo Cruz <ricardo.carrillo.cruz@gmail.com> Code-Review+1: Paul Belanger <pabelanger@redhat.com> Code-Review+1: K Jonathan Harker <code@gentlydownthe.net> Code-Review+1: Colleen Murphy <colleen@gazlene.net> Submitted-by: Jenkins Submitted-at: Mon, 10 Aug 2015 15:13:21 +0000 Reviewed-on: https://review.openstack.org/208446 Project: openstack-infra/puppet-pip Branch: refs/heads/master
-rw-r--r--templates/pip.conf.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/pip.conf.erb b/templates/pip.conf.erb
index c0b957d..caf7976 100644
--- a/templates/pip.conf.erb
+++ b/templates/pip.conf.erb
@@ -1,6 +1,6 @@
1[global] 1[global]
2index-url = <%= @index_url %> 2index-url = <%= @index_url %>
3<% if trusted_hosts.length > 0 -%> 3<% if @trusted_hosts.length > 0 -%>
4trusted-host = 4trusted-host =
5<% @trusted_hosts.each do |trusted_host| -%> 5<% @trusted_hosts.each do |trusted_host| -%>
6 <%= trusted_host %> 6 <%= trusted_host %>