vagrant-salt-environment/saltstack/salt/test/init.sls
2019-12-08 14:07:24 +01:00

22 lines
457 B
Plaintext

test_create_temp_file:
file.managed:
- name: /tmp/test.file
- mode: 0666
- user: root
- group: root
- template: jinja
- contents: |
{% set pillar = salt['pillar.get']('test') %}
{{ pillar.foo }}
{{ pillar.bar }}
test_create_other_temp_file:
file.managed:
- name: /tmp/test2.file
- mode: 0444
- user: root
- group: root
- template: jinja
- source: salt://test/files/test.template