Include users in pipeline
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
Georg Pfuetzenreuter 2023-01-22 22:59:29 +01:00
parent dc3c0dd6a9
commit 2698d18625
Signed by: Georg
GPG Key ID: 1ED2F138E7E6FF57

View File

@ -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')