summaryrefslogtreecommitdiffstats
path: root/pillar/role
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2023-01-26 18:58:09 +0100
committerGeorg Pfuetzenreuter2023-01-26 20:54:09 +0100
commitd627582075fb15bc3a812e38c6ec3c367761b877 (patch)
tree60a74a327fccb8ef96cff582b35f2dab87ea7dc5 /pillar/role
parent68939f80548446b1e1f44a62e98cc97d6552d2ff (diff)
downloadsalt-d627582075fb15bc3a812e38c6ec3c367761b877.tar.gz
salt-d627582075fb15bc3a812e38c6ec3c367761b877.tar.bz2
salt-d627582075fb15bc3a812e38c6ec3c367761b877.zip
Read formulas from central file
- add formulas.yaml file containing list of all enabled formulas - read formulas from said file in role.salt.master and prepare_minion.py - add symlink for easier tracking of the file Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'pillar/role')
-rw-r--r--pillar/role/salt/master.sls2
1 files changed, 1 insertions, 1 deletions
diff --git a/pillar/role/salt/master.sls b/pillar/role/salt/master.sls
index 49785ac..e66774f 100644
--- a/pillar/role/salt/master.sls
+++ b/pillar/role/salt/master.sls
@@ -1,4 +1,4 @@
-{%- set formulas = ['salt', 'users', 'postfix'] -%}
+{%- import_yaml 'formulas.yaml' as formulas -%}
include:
- role.salt.common