Include users in pipeline
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful
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:
parent
dc3c0dd6a9
commit
2698d18625
@ -20,12 +20,14 @@ with open(grainsfile, mode='w') as grainsfh:
|
|||||||
with open(idfile, mode='w') as idfh:
|
with open(idfile, mode='w') as idfh:
|
||||||
idfh.write('# empty')
|
idfh.write('# empty')
|
||||||
|
|
||||||
|
# to-do: include formulas automatically, maybe from some YAML file?
|
||||||
with open(configfile, mode='w') as configfh:
|
with open(configfile, mode='w') as configfh:
|
||||||
configfh.write('''# written by prepare_minion.py
|
configfh.write('''# written by prepare_minion.py
|
||||||
file_roots:
|
file_roots:
|
||||||
production:
|
production:
|
||||||
- /srv/salt
|
- /srv/salt
|
||||||
- /srv/formulas/salt-formula
|
- /srv/formulas/salt-formula
|
||||||
|
- /srv/formulas/users-formula
|
||||||
''')
|
''')
|
||||||
|
|
||||||
os.symlink(mypwd + '/salt', '/srv/salt')
|
os.symlink(mypwd + '/salt', '/srv/salt')
|
||||||
|
Loading…
Reference in New Issue
Block a user