Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastian
slapos
Commits
d08c4d85
Commit
d08c4d85
authored
Oct 19, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pass requested partitions' connection parameters.
parent
1f2127ae
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
software/erp5/instance-erp5-production.cfg
software/erp5/instance-erp5-production.cfg
+6
-1
software/erp5/instance-mariadb.cfg
software/erp5/instance-mariadb.cfg
+1
-1
software/erp5/software.cfg
software/erp5/software.cfg
+2
-2
No files found.
software/erp5/instance-erp5-production.cfg
View file @
d08c4d85
...
...
@@ -52,8 +52,13 @@ software-type = kumofs
[request-tidstorage]
<=request-common
name = TidStorage
config = json
return = url-login
config = json mysql-url memcached-url cloudooo-url kumofs-url
config-json = $${slap-parameter:json}
config-mysql-url = $${request-mariadb:connection-url}
config-memcached-url = $${request-memcached:connection-url}
config-cloudooo-url = $${request-cloudooo:connection-url}
config-kumofs-url = $${request-kumofs:connection-url}
software-type = tidstorage
# rest of parts are candidates for some generic stuff
...
...
software/erp5/instance-mariadb.cfg
View file @
d08c4d85
...
...
@@ -15,7 +15,7 @@ offline = true
[publish-mariadb-url]
recipe = slapos.cookbook:publishurl
url = mysql
s
://$${mariadb-instance:user}:$${mariadb-instance:password}@$${mariadb-instance:ip}:$${mariadb-instance:port}/$${mariadb-instance:database}
url = mysql://$${mariadb-instance:user}:$${mariadb-instance:password}@$${mariadb-instance:ip}:$${mariadb-instance:port}/$${mariadb-instance:database}
[cron-entry-mariadb-backup]
<= cron
...
...
software/erp5/software.cfg
View file @
d08c4d85
...
...
@@ -23,7 +23,7 @@ unzip = true
[template-mariadb]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-mariadb.cfg
md5sum =
b60b1be31d6173abd1e7546544164362
md5sum =
f6e5fb6334fa6e4dbb4da3103837f8b0
output = ${buildout:directory}/template-mariadb.cfg
mode = 0644
...
...
@@ -74,7 +74,7 @@ mode = 0644
[template-erp5-production]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-erp5-production.cfg
md5sum =
1c7a514854edab9cf92c28f2951147d5
md5sum =
363f08ba40344e2704f7f474364f42d8
output = ${buildout:directory}/template-erp5-production.cfg
mode = 0644
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment