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
Iliya Manolov
slapos
Commits
61b9f7f2
Commit
61b9f7f2
authored
Jul 12, 2012
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Introduce promise on zope and memcache configuration.
parent
8189c839
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
2 deletions
+17
-2
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+2
-2
stack/erp5/instance-memcached.cfg.in
stack/erp5/instance-memcached.cfg.in
+7
-0
stack/erp5/instance-zope.cfg.in
stack/erp5/instance-zope.cfg.in
+8
-0
No files found.
stack/erp5/buildout.cfg
View file @
61b9f7f2
...
...
@@ -252,7 +252,7 @@ mode = 640
# XXX: "template.cfg" is hardcoded in instanciation recipe
filename = template.cfg
template = ${:_profile_base_location_}/instance.cfg.in
md5sum =
ee7d9040f3f90948fe15f78196f6614
9
md5sum =
88356e0017fc9e231c583a5f3544a5b
9
extra-context =
key apache_location apache:location
key aspell_location aspell:location
...
...
@@ -310,7 +310,7 @@ extra-context =
[template-memcached]
< = template-jinja2-base
filename = instance-memcached.cfg
md5sum =
395779dc578e2527cb0d89c5aee39f65
md5sum =
22f80288d1ada69515c5f462da37e121
extra-context =
key dash_location dash:location
key memcached_location memcached:location
...
...
stack/erp5/instance-memcached.cfg.in
View file @
61b9f7f2
...
...
@@ -34,3 +34,10 @@ port = 11000
[publish-memcached-connection-information]
recipe = slapos.cookbook:publishurl
url = memcached://${memcached-instance:ip}:${memcached-instance:port}/
# Deploy zope promises scripts
[promise]
recipe = slapos.cookbook:check_port_listening
path = ${basedirectory:promises}/memcache
hostname = ${memcached-instance:ip}
port = ${memcached-instance:port}
stack/erp5/instance-zope.cfg.in
View file @
61b9f7f2
...
...
@@ -243,6 +243,7 @@ tmp = ${buildout:directory}/tmp
recipe = slapos.cookbook:mkdirectory
log = ${rootdirectory:var}/log
services = ${rootdirectory:etc}/run
promises = ${rootdirectory:etc}/promise/
run = ${rootdirectory:var}/run
backup = ${rootdirectory:srv}/backup
bt5-erp5 = ${rootdirectory:var}/bt5_erp5
...
...
@@ -289,3 +290,10 @@ crontabs = ${rootdirectory:etc}/crontabs
cronstamps = ${rootdirectory:etc}/cronstamps
logrotate-backup = ${basedirectory:backup}/logrotate
logrotate-entries = ${rootdirectory:etc}/logrotate.d
# Deploy zope promises scripts
[promise]
recipe = slapos.cookbook:check_port_listening
path = ${basedirectory:promises}/zope
hostname = ${zope-instance:ip}
port = ${zope-instance:port}
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