3 lines
185 B
Django/Jinja
3 lines
185 B
Django/Jinja
{%- if salt['pillar.get']('apt-proxy:name') != "None" %}
|
|
Acquire::http { proxy "http://{{salt['pillar.get']('apt-proxy:name')}}:{{ salt['pillar.get']('apt-proxy:port')}}" }
|
|
{%- endif %} |