mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
12 lines
251 B
Plaintext
12 lines
251 B
Plaintext
{% if grains['kernel'] == 'Windows' %}
|
|
{% set TMP = "C:\\Windows\\Temp\\" %}
|
|
{% else %}
|
|
{% set TMP = "/tmp/" %}
|
|
{% endif %}
|
|
|
|
{% set file = salt['pillar.get']('monty', '') %}
|
|
|
|
create_file:
|
|
file.managed:
|
|
- name: {{ TMP }}filepillar-{{ file }}
|