paulbsd-salt/states/apt/init.sls

11 lines
296 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
2021-09-25 16:06:38 +02:00
{%- from "apt/map.jinja" import apt with context %}
{% for itemkey, itemvalue in apt.config.items() -%}
apt-proxy-{{ itemkey }}:
2021-09-25 16:06:38 +02:00
file.managed:
- name: /etc/apt/apt.conf.d/{{ k }}
- user: root
- group: root
- mode: "0644"
- contents: {{ itemvalue.content }}
2021-09-25 16:06:38 +02:00
{% endfor -%}