Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
slapos
Commits
a893a0c2
Commit
a893a0c2
authored
Mar 29, 2012
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Jinja2-ify instance-memcached.cfg .
parent
1a405f22
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
16 deletions
+17
-16
software/erp5/instance-memcached.cfg.in
software/erp5/instance-memcached.cfg.in
+10
-10
software/erp5/instance.cfg
software/erp5/instance.cfg
+1
-1
software/erp5/software.cfg
software/erp5/software.cfg
+6
-5
No files found.
software/erp5/instance-memcached.cfg
→
software/erp5/instance-memcached.cfg
.in
View file @
a893a0c2
...
@@ -10,27 +10,27 @@ parts =
...
@@ -10,27 +10,27 @@ parts =
memcached-instance
memcached-instance
publish-memcached-connection-information
publish-memcached-connection-information
eggs-directory =
${buildout:eggs-directory
}
eggs-directory =
{{ eggs_directory }
}
develop-eggs-directory =
${buildout:develop-eggs-directory
}
develop-eggs-directory =
{{ develop_eggs_directory }
}
offline = true
offline = true
[rootdirectory]
[rootdirectory]
recipe = slapos.cookbook:mkdirectory
recipe = slapos.cookbook:mkdirectory
etc = $
$
{buildout:directory}/etc
etc = ${buildout:directory}/etc
bin = $
$
{buildout:directory}/bin
bin = ${buildout:directory}/bin
[basedirectory]
[basedirectory]
recipe = slapos.cookbook:mkdirectory
recipe = slapos.cookbook:mkdirectory
services = $
$
{rootdirectory:etc}/run
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 = ${basedirectory:services}/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}
port = 11000
port = 11000
[publish-memcached-connection-information]
[publish-memcached-connection-information]
recipe = slapos.cookbook:publishurl
recipe = slapos.cookbook:publishurl
url = memcached://$
${memcached-instance:ip}:$
${memcached-instance:port}/
url = memcached://$
{memcached-instance:ip}:
${memcached-instance:port}/
software/erp5/instance.cfg
View file @
a893a0c2
...
@@ -27,7 +27,7 @@ recipe = slapos.cookbook:softwaretype
...
@@ -27,7 +27,7 @@ recipe = slapos.cookbook:softwaretype
default = ${template-erp5-development:rendered}
default = ${template-erp5-development:rendered}
production = ${template-erp5-production:output}
production = ${template-erp5-production:output}
kumofs = ${template-kumofs:output}
kumofs = ${template-kumofs:output}
memcached = ${template-memcached:
output
}
memcached = ${template-memcached:
rendered
}
cloudooo = $${dynamic-template-cloudooo:output}
cloudooo = $${dynamic-template-cloudooo:output}
zope = ${template-zope:output}
zope = ${template-zope:output}
mariadb = ${template-mariadb:output}
mariadb = ${template-mariadb:output}
...
...
software/erp5/software.cfg
View file @
a893a0c2
...
@@ -105,11 +105,12 @@ output = ${buildout:directory}/template.cfg
...
@@ -105,11 +105,12 @@ output = ${buildout:directory}/template.cfg
mode = 0644
mode = 0644
[template-memcached]
[template-memcached]
recipe = slapos.recipe.template
< = template-jinja2-base
url = ${:_profile_base_location_}/instance-memcached.cfg
filename = instance-memcached.cfg
md5sum = 7ed1d93dafa76adc025acb2f0e08c05f
md5sum = 395779dc578e2527cb0d89c5aee39f65
output = ${buildout:directory}/template-memcached.cfg
extra-context =
mode = 0644
key dash_location dash:location
key memcached_location memcached:location
[template-erp5-development]
[template-erp5-development]
< = template-jinja2-base
< = template-jinja2-base
...
...
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