summaryrefslogtreecommitdiffstats
path: root/pillar
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2023-01-22 14:49:30 +0100
committerGeorg Pfuetzenreuter2023-01-22 14:49:30 +0100
commit5ab1c4f8543e10649aa91dfef47920be548f267e (patch)
tree2afe42879604d84810c778b568e86e2263f4668c /pillar
parentb112ee3131f82cf8b8bc09726b9088950f9dc6dc (diff)
downloadsalt-5ab1c4f8543e10649aa91dfef47920be548f267e.tar.gz
salt-5ab1c4f8543e10649aa91dfef47920be548f267e.tar.bz2
salt-5ab1c4f8543e10649aa91dfef47920be548f267e.zip
salt.master: manage formulas
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'pillar')
-rw-r--r--pillar/role/salt/master.sls6
1 files changed, 5 insertions, 1 deletions
diff --git a/pillar/role/salt/master.sls b/pillar/role/salt/master.sls
index 7464f8c..9982a24 100644
--- a/pillar/role/salt/master.sls
+++ b/pillar/role/salt/master.sls
@@ -1,3 +1,5 @@
+{%- set formulas = ['salt-formula'] -%}
+
salt:
interface: ${'secret_salt:master:interface'}
master_remove_config: True
@@ -17,7 +19,9 @@ salt:
- git
file_roots:
production:
- - /srv/formulas/salt-formula
+ {%- for formula in formulas %}
+ - /srv/formulas/{{ formula }}
+ {%- endfor %}
gitfs_root: salt
gitfs_remotes:
- https://git.com.de/LibertaCasa/salt.git: