Commit 4e9ca49c authored by Romain Courteaud's avatar Romain Courteaud

Allow to provide database name.

parent 36859b09
...@@ -31,7 +31,7 @@ user = user ...@@ -31,7 +31,7 @@ user = user
parallel-test-database-amount = 5 parallel-test-database-amount = 5
port = 45678 port = 45678
ip = $${slap-network-information:global-ipv6} ip = $${slap-network-information:global-ipv6}
database = sanef_dms database = $${slap-parameter:database}
test-user = erp5_test test-user = erp5_test
test-database = erp5_test test-database = erp5_test
mysql-test-database-base = testdb mysql-test-database-base = testdb
...@@ -208,3 +208,5 @@ mariadb-data = $${rootdirectory:srv}/mariadb ...@@ -208,3 +208,5 @@ mariadb-data = $${rootdirectory:srv}/mariadb
logrotate-backup = $${basedirectory:backup}/logrotate logrotate-backup = $${basedirectory:backup}/logrotate
logrotate-entries = $${rootdirectory:etc}/logrotate.d logrotate-entries = $${rootdirectory:etc}/logrotate.d
[slap-parameter]
database = sanef_dms
...@@ -69,7 +69,7 @@ mode = 0644 ...@@ -69,7 +69,7 @@ mode = 0644
[template-mariadb-prod] [template-mariadb-prod]
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-mariadb-prod.cfg url = ${:_profile_base_location_}/instance-mariadb-prod.cfg
md5sum = ca020131ac05ca71bce624a5f65e9f53 md5sum = ff3325d097dd9ef8ec8e4aa68122235e
output = ${buildout:directory}/template-mariadb-prod.cfg output = ${buildout:directory}/template-mariadb-prod.cfg
mode = 0644 mode = 0644
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment