Compare commits

..

No commits in common. "3bd92780f5dbde35ca7a8d619115c028952f69a9" and "db93458bfbe89729179af8a243e2c092d8e27666" have entirely different histories.

3 changed files with 5 additions and 7 deletions

View File

@ -2,9 +2,9 @@
<creole>
<files>
<service>risotto</service>
<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'/>
<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'/>
</files>
<variables>
<family name='risotto'>

View File

@ -1,9 +1,8 @@
#!/bin/bash
for dir in risotto_cache_dir risotto_seed_dir risotto_temp_dir risotto_configuration_dir risotto_images_dir; do
dirname=$(CreoleGet $dir)
mkdir -p $dirname
chown risotto: $dirname
mkdir -p $(CreoleGet $dir)
chown risotto: $dir
done
exit 0

View File

@ -1,6 +1,5 @@
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