Manage AppArmor on web-proxie's #27
9
salt/profile/apparmor/local.sls
Normal file
9
salt/profile/apparmor/local.sls
Normal 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 %}
|
Loading…
Reference in New Issue
Block a user