paulbsd-salt/states/apt/init.sls
2021-09-25 16:06:38 +02:00

11 lines
266 B
Plaintext

---
{%- from "apt/map.jinja" import apt with context %}
{% for k, v in apt.config.items() -%}
apt-proxy-{{ k }}:
file.managed:
- name: /etc/apt/apt.conf.d/{{ k }}
- user: root
- group: root
- mode: 0644
- contents: {{ v.content }}
{% endfor -%}