summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2023-01-22 22:59:29 +0100
committerGeorg Pfuetzenreuter2023-01-22 22:59:29 +0100
commit2698d18625246773601855c5be1d1abebc706e8a (patch)
treea4f4f63258418e52e1daae579a3419da33a2d67c /bin
parentdc3c0dd6a9fc7e70f813bac322fad61fd79a860e (diff)
downloadsalt-2698d18625246773601855c5be1d1abebc706e8a.tar.gz
salt-2698d18625246773601855c5be1d1abebc706e8a.tar.bz2
salt-2698d18625246773601855c5be1d1abebc706e8a.zip
Include users in pipeline
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/prepare_minion.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/prepare_minion.py b/bin/prepare_minion.py
index 862df1b..7bddba1 100755
--- a/bin/prepare_minion.py
+++ b/bin/prepare_minion.py
@@ -20,12 +20,14 @@ with open(grainsfile, mode='w') as grainsfh:
with open(idfile, mode='w') as idfh:
idfh.write('# empty')
+# to-do: include formulas automatically, maybe from some YAML file?
with open(configfile, mode='w') as configfh:
configfh.write('''# written by prepare_minion.py
file_roots:
production:
- /srv/salt
- /srv/formulas/salt-formula
+ - /srv/formulas/users-formula
''')
os.symlink(mypwd + '/salt', '/srv/salt')