Compare commits
2 Commits
db93458bfb
...
3bd92780f5
Author | SHA1 | Date |
---|---|---|
Emmanuel Garette | 3bd92780f5 | |
Emmanuel Garette | c3dc0ca6ba |
|
@ -2,9 +2,9 @@
|
|||
<creole>
|
||||
<files>
|
||||
<service>risotto</service>
|
||||
<file filelist='risotto' name='/etc/risotto/risotto.conf' mkdir='True' rm='True'/>
|
||||
<file filelist='risotto' name='/etc/eole/eole-db.d/risotto.yml' mkdir='True' rm='True'/>
|
||||
<file filelist='risotto' name='/etc/eole/eole-db.d/tiramisu.yml' mkdir='True' rm='True'/>
|
||||
<file name='/etc/risotto/risotto.conf' owner="risotto"/>
|
||||
<file name='/etc/eole/eole-db.d/risotto.yml' mkdir='True' rm='True'/>
|
||||
<file name='/etc/eole/eole-db.d/tiramisu.yml'/>
|
||||
</files>
|
||||
<variables>
|
||||
<family name='risotto'>
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
for dir in risotto_cache_dir risotto_seed_dir risotto_temp_dir risotto_configuration_dir risotto_images_dir; do
|
||||
mkdir -p $(CreoleGet $dir)
|
||||
chown risotto: $dir
|
||||
dirname=$(CreoleGet $dir)
|
||||
mkdir -p $dirname
|
||||
chown risotto: $dirname
|
||||
done
|
||||
|
||||
exit 0
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
CONFIGURATION_DIR=%%risotto_configuration_dir
|
||||
TMP_DIR=%%risotto_temp_dir
|
||||
IMAGE_PATH=%%risotto_images_dir
|
||||
DEFAULT_USER=%%risotto_default_user
|
||||
RISOTTO_DB_NAME=%%risotto_main_dbname
|
||||
RISOTTO_DB_USER=%%risotto_db_user
|
||||
|
|
Loading…
Reference in New Issue