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
Kwabena Antwi-Boasiako
slapos
Commits
b019f3c0
Commit
b019f3c0
authored
Jul 23, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provides memcached over IPv6.
parent
0ab278c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
5 deletions
+23
-5
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+2
-1
stack/erp5/instance-memcached.cfg.in
stack/erp5/instance-memcached.cfg.in
+21
-4
No files found.
stack/erp5/buildout.cfg
View file @
b019f3c0
...
...
@@ -307,9 +307,10 @@ extra-context =
[template-memcached]
< = template-jinja2-base
filename = instance-memcached.cfg
md5sum =
44c507e9eec1003beb99f9063b5e09be
md5sum =
2357f68ab98f73cd7911581d68d7d050
extra-context =
key dash_location dash:location
key haproxy_location haproxy:location
key memcached_location memcached:location
[template-erp5-development]
...
...
stack/erp5/instance-memcached.cfg.in
View file @
b019f3c0
...
...
@@ -7,7 +7,6 @@
#############################
[buildout]
parts =
memcached-instance
publish-memcached-connection-information
promise
...
...
@@ -30,13 +29,31 @@ shell-path = {{ dash_location }}/bin/dash
ip = ${slap-network-information:local-ipv4}
port = 11000
[ipv6toipv4]
recipe = slapos.cookbook:ipv6toipv4
conf-path = ${rootdirectory:etc}/${:base-name}.conf
runner-path = ${basedirectory:services}/${:base-name}
haproxy-path = {{ haproxy_location }}/sbin/haproxy
shell-path = {{ dash_location }}/bin/dash
ipv4 = ${memcached-instance:ip}
ipv6 = ${slap-network-information:global-ipv6}
ipv6-port = ${memcached-instance:port}
ipv4-port = ${memcached-instance:port}
base-name = memcached-tunnel
[publish-memcached-connection-information]
recipe = slapos.cookbook:publishurl
url = memcached://
${memcached-instance:ip}:${memcached-instance:
port}/
url = memcached://
[${ipv6toipv4:ipv6}]:${ipv6toipv4:ipv6-
port}/
# Deploy
zope
promises scripts
[promise]
# Deploy promises scripts
[
haproxy-
promise]
recipe = slapos.cookbook:check_port_listening
path = ${directory:promise}/memcache
hostname = ${memcached-instance:ip}
port = ${memcached-instance:port}
[tunnel-promise]
recipe = slapos.cookbook:check_port_listening
path = ${directory:promise}/tunnel
hostname = ${ipv6toipv4:ipv6}
port = ${ipv6toipv4:ipv6-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