summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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')