Merge "Allow to send optional values to configuration"
This commit is contained in:
commit
7959d3d4ca
@ -4,6 +4,7 @@ class pip (
|
||||
$index_url = 'https://pypi.python.org/simple',
|
||||
$trusted_hosts = [],
|
||||
$manage_pip_conf = false,
|
||||
$optional_settings = {},
|
||||
) {
|
||||
include ::pip::params
|
||||
validate_array($trusted_hosts)
|
||||
|
@ -6,3 +6,7 @@ trusted-host =
|
||||
<%= trusted_host %>
|
||||
<% end -%>
|
||||
<% end -%>
|
||||
|
||||
<% @optional_settings.keys.sort.each do |setting| -%>
|
||||
<%= setting -%> = <%= @optional_settings[setting] %>
|
||||
<% end -%>
|
||||
|
Loading…
Reference in New Issue
Block a user