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
Jean-Paul Smets
slapos
Commits
966c39b6
Commit
966c39b6
authored
Jul 19, 2012
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve memcached promise for erp5 software release
parent
69736823
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+1
-1
stack/erp5/instance-memcached.cfg.in
stack/erp5/instance-memcached.cfg.in
+6
-7
No files found.
stack/erp5/buildout.cfg
View file @
966c39b6
...
@@ -308,7 +308,7 @@ extra-context =
...
@@ -308,7 +308,7 @@ extra-context =
[template-memcached]
[template-memcached]
< = template-jinja2-base
< = template-jinja2-base
filename = instance-memcached.cfg
filename = instance-memcached.cfg
md5sum =
22f80288d1ada69515c5f462da37e121
md5sum =
44c507e9eec1003beb99f9063b5e09be
extra-context =
extra-context =
key dash_location dash:location
key dash_location dash:location
key memcached_location memcached:location
key memcached_location memcached:location
...
...
stack/erp5/instance-memcached.cfg.in
View file @
966c39b6
...
@@ -9,23 +9,22 @@
...
@@ -9,23 +9,22 @@
parts =
parts =
memcached-instance
memcached-instance
publish-memcached-connection-information
publish-memcached-connection-information
promise
eggs-directory = {{ eggs_directory }}
eggs-directory = {{ eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
offline = true
offline = true
[
root
directory]
[directory]
recipe = slapos.cookbook:mkdirectory
recipe = slapos.cookbook:mkdirectory
etc = ${buildout:directory}/etc
etc = ${buildout:directory}/etc
bin = ${buildout:directory}/bin
bin = ${buildout:directory}/bin
service = ${:etc}/run
[basedirectory]
promise = ${:etc}/promise
recipe = slapos.cookbook:mkdirectory
services = ${rootdirectory:etc}/run
[memcached-instance]
[memcached-instance]
recipe = slapos.cookbook:generic.memcached
recipe = slapos.cookbook:generic.memcached
wrapper_path = ${
basedirectory:services
}/memcached
wrapper_path = ${
directory:service
}/memcached
binary_path = {{ memcached_location }}/bin/memcached
binary_path = {{ memcached_location }}/bin/memcached
shell-path = {{ dash_location }}/bin/dash
shell-path = {{ dash_location }}/bin/dash
ip = ${slap-network-information:local-ipv4}
ip = ${slap-network-information:local-ipv4}
...
@@ -38,6 +37,6 @@ url = memcached://${memcached-instance:ip}:${memcached-instance:port}/
...
@@ -38,6 +37,6 @@ url = memcached://${memcached-instance:ip}:${memcached-instance:port}/
# Deploy zope promises scripts
# Deploy zope promises scripts
[promise]
[promise]
recipe = slapos.cookbook:check_port_listening
recipe = slapos.cookbook:check_port_listening
path = ${
basedirectory:promises
}/memcache
path = ${
directory:promise
}/memcache
hostname = ${memcached-instance:ip}
hostname = ${memcached-instance:ip}
port = ${memcached-instance:port}
port = ${memcached-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