paulbsd-salt/states/apt/10proxy.j2

3 lines
185 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
{%- 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 %}