From 2698d18625246773601855c5be1d1abebc706e8a Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sun, 22 Jan 2023 22:59:29 +0100 Subject: [PATCH] Include users in pipeline Signed-off-by: Georg Pfuetzenreuter --- bin/prepare_minion.py | 2 ++ 1 file changed, 2 insertions(+) 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')