mirror of
https://github.com/valitydev/salt-common.git
synced 2024-11-06 18:35:18 +00:00
13 lines
356 B
Plaintext
13 lines
356 B
Plaintext
include:
|
|
- augeas
|
|
|
|
{% set default_lenses = ['makeconf', 'confd'] %}
|
|
{% set extra_lenses = salt['pillar.get']('augeas_extra_lenses', []) %}
|
|
|
|
{% for lensname in default_lenses + extra_lenses %}
|
|
augeas-{{ lensname }}:
|
|
file.managed:
|
|
- name: /usr/share/augeas/lenses/{{ lensname }}.aug
|
|
- source: salt://augeas/lenses/{{ lensname }}.aug
|
|
{% endfor %}
|