diff options
author | Georg Pfuetzenreuter | 2023-01-22 22:59:29 +0100 |
---|---|---|
committer | Georg Pfuetzenreuter | 2023-01-22 22:59:29 +0100 |
commit | 2698d18625246773601855c5be1d1abebc706e8a (patch) | |
tree | a4f4f63258418e52e1daae579a3419da33a2d67c /bin | |
parent | dc3c0dd6a9fc7e70f813bac322fad61fd79a860e (diff) | |
download | salt-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-x | bin/prepare_minion.py | 2 |
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') |