1 ##############################################################################
2 # Copyright (c) 2018 Mirantis Inc., Enea AB and others.
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 # http://www.apache.org/licenses/LICENSE-2.0
7 ##############################################################################
9 # We'll craft this class so it can be reused on both cfg01 and mas01
10 {%- if conf.idf.fuel.network.upstream_proxy is defined %}
11 {%- set upstream_proxy=conf.idf.fuel.network.upstream_proxy %}
16 address: {{ upstream_proxy.address }}
17 port: {{ upstream_proxy.port }}
22 http: http://{{ upstream_proxy.address }}:{{ upstream_proxy.port }}
23 https: http://{{ upstream_proxy.address }}:{{ upstream_proxy.port }}