Manage AppArmor on web-proxie's #27

Merged
Georg merged 3 commits from import-denc-webcluster-apparmor into production 2023-02-12 17:14:41 +01:00
Showing only changes of commit 0eca62f4ce - Show all commits

View File

@ -0,0 +1,9 @@
{%- set aapillar = salt['pillar.get']('profile:apparmor') %}
{%- if 'local' in aapillar %}
{%- for profile, lines in aapillar['local'].items() %}
/etc/apparmor.d/local/{{ profile }}:
file.managed:
- contents: {{ lines }}
{%- endfor %}
{%- endif %}