Hi,
I have the following folder structure in my pillar
pillar:
cut:
my_test:
init.sls
dev:
my_test:
init.slsand i want to use in my state variables from the both (cut a dev) environments.
Something like:create_file:
file.managed:
- name: [salt['pillar.get']([saltenv, 'my_test', 'path']|join(':')), 'file_name']|join('/')--
Is it possible to do? Is it possible assign environment names dynamically?
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/salt-users/01637245-02a5-415c-9e3c-216478d9c889n%40googlegroups.com.