Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos-mynij-dev
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mynij
slapos-mynij-dev
Commits
0026f37b
Commit
0026f37b
authored
Mar 29, 2012
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Jinja2-ify instance-erp5-production.cfg .
parent
a893a0c2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
124 additions
and
6 deletions
+124
-6
software/erp5/instance-erp5-production.cfg.in
software/erp5/instance-erp5-production.cfg.in
+118
-0
software/erp5/instance.cfg
software/erp5/instance.cfg
+1
-1
software/erp5/software.cfg
software/erp5/software.cfg
+5
-5
No files found.
software/erp5/instance-erp5-production.cfg
→
software/erp5/instance-erp5-production.cfg
.in
View file @
0026f37b
...
@@ -14,105 +14,105 @@ parts =
...
@@ -14,105 +14,105 @@ parts =
request-tidstorage
request-tidstorage
basedirectory
basedirectory
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
[request-common]
[request-common]
recipe = slapos.cookbook:request
recipe = slapos.cookbook:request
software-url = $
$
{slap-connection:software-release-url}
software-url = ${slap-connection:software-release-url}
sla = computer_guid
sla = computer_guid
return = url
return = url
server-url = $
$
{slap-connection:server-url}
server-url = ${slap-connection:server-url}
key-file = $
$
{slap-connection:key-file}
key-file = ${slap-connection:key-file}
cert-file = $
$
{slap-connection:cert-file}
cert-file = ${slap-connection:cert-file}
computer-id = $
$
{slap-connection:computer-id}
computer-id = ${slap-connection:computer-id}
partition-id = $
$
{slap-connection:partition-id}
partition-id = ${slap-connection:partition-id}
[request-sphinx]
[request-sphinx]
<=request-common
<=request-common
name = Sphinx Search Engine
name = Sphinx Search Engine
software-type = sphinx
software-type = sphinx
sla-computer_guid = $
$
{slap-parameter:sphinx-computer-guid}
sla-computer_guid = ${slap-parameter:sphinx-computer-guid}
return = url-sphinx url-sphinx-sql
return = url-sphinx url-sphinx-sql
[request-mariadb]
[request-mariadb]
<=request-common
<=request-common
name = MariaDB DataBase
name = MariaDB DataBase
software-type = mariadb
software-type = mariadb
sla-computer_guid = $
$
{slap-parameter:mariadb-computer-guid}
sla-computer_guid = ${slap-parameter:mariadb-computer-guid}
[request-cloudooo]
[request-cloudooo]
<=request-common
<=request-common
name = Cloudooo
name = Cloudooo
config = cloudooo-json
config = cloudooo-json
config-cloudooo-json = $
$
{slap-parameter:cloudooo-json}
config-cloudooo-json = ${slap-parameter:cloudooo-json}
software-type = cloudooo
software-type = cloudooo
sla-computer_guid = $
$
{slap-parameter:cloudooo-computer-guid}
sla-computer_guid = ${slap-parameter:cloudooo-computer-guid}
[request-memcached]
[request-memcached]
<=request-common
<=request-common
name = Memcached
name = Memcached
software-type = memcached
software-type = memcached
sla-computer_guid = $
$
{slap-parameter:memcached-computer-guid}
sla-computer_guid = ${slap-parameter:memcached-computer-guid}
[request-kumofs]
[request-kumofs]
<=request-common
<=request-common
name = KumoFS
name = KumoFS
software-type = kumofs
software-type = kumofs
sla-computer_guid = $
$
{slap-parameter:kumofs-computer-guid}
sla-computer_guid = ${slap-parameter:kumofs-computer-guid}
[request-tidstorage]
[request-tidstorage]
<=request-common
<=request-common
name = TidStorage
name = TidStorage
return = url-login
return = url-login
config = json mysql-url memcached-url cloudooo-url kumofs-url sphinx-url-sphinx sphinx-url-sphinx-sql smtp-url bt5 bt5-repository-url
config = json mysql-url memcached-url cloudooo-url kumofs-url sphinx-url-sphinx sphinx-url-sphinx-sql smtp-url bt5 bt5-repository-url
config-json = $
$
{slap-parameter:json}
config-json = ${slap-parameter:json}
config-mysql-url = $
$
{request-mariadb:connection-url}
config-mysql-url = ${request-mariadb:connection-url}
config-memcached-url = $
$
{request-memcached:connection-url}
config-memcached-url = ${request-memcached:connection-url}
config-cloudooo-url = $
$
{request-cloudooo:connection-url}
config-cloudooo-url = ${request-cloudooo:connection-url}
config-kumofs-url = $
$
{request-kumofs:connection-url}
config-kumofs-url = ${request-kumofs:connection-url}
config-sphinx-url-sphinx = $
$
{request-sphinx:connection-url-sphinx}
config-sphinx-url-sphinx = ${request-sphinx:connection-url-sphinx}
config-sphinx-url-sphinx-sql = $
$
{request-sphinx:connection-url-sphinx-sql}
config-sphinx-url-sphinx-sql = ${request-sphinx:connection-url-sphinx-sql}
config-bt5 = $
$
{slap-parameter:bt5}
config-bt5 = ${slap-parameter:bt5}
config-bt5-repository-url = $
$
{slap-parameter:bt5-repository-url}
config-bt5-repository-url = ${slap-parameter:bt5-repository-url}
config-smtp-url = $
$
{slap-parameter:smtp-url}
config-smtp-url = ${slap-parameter:smtp-url}
software-type = tidstorage
software-type = tidstorage
sla-computer_guid = $
$
{slap-parameter:tidstorage-computer-guid}
sla-computer_guid = ${slap-parameter:tidstorage-computer-guid}
[request-varnish]
[request-varnish]
<=request-common
<=request-common
name = Varnish
name = Varnish
config = tidstorage-url
config = tidstorage-url
config-tidstorage-url = $
$
{request-tidstorage:connection-url-login}
config-tidstorage-url = ${request-tidstorage:connection-url-login}
config-web-checker-mail-address = $
$
{slap-parameter:web-checker-mail-address}
config-web-checker-mail-address = ${slap-parameter:web-checker-mail-address}
config-web-checker-smtp-host = $
$
{slap-parameter:web-checker-smtp-host}
config-web-checker-smtp-host = ${slap-parameter:web-checker-smtp-host}
software-type = varnish
software-type = varnish
sla-computer_guid = $
$
{slap-parameter:varnish-computer-guid}
sla-computer_guid = ${slap-parameter:varnish-computer-guid}
[slap-parameter]
[slap-parameter]
# Default value if no computer_guid is specified for each type
# Default value if no computer_guid is specified for each type
sphinx-computer-guid = $
$
{slap-connection:computer-id}
sphinx-computer-guid = ${slap-connection:computer-id}
mariadb-computer-guid = $
$
{slap-connection:computer-id}
mariadb-computer-guid = ${slap-connection:computer-id}
cloudooo-computer-guid = $
$
{slap-connection:computer-id}
cloudooo-computer-guid = ${slap-connection:computer-id}
memcached-computer-guid = $
$
{slap-connection:computer-id}
memcached-computer-guid = ${slap-connection:computer-id}
kumofs-computer-guid = $
$
{slap-connection:computer-id}
kumofs-computer-guid = ${slap-connection:computer-id}
tidstorage-computer-guid = $
$
{slap-connection:computer-id}
tidstorage-computer-guid = ${slap-connection:computer-id}
varnish-computer-guid = $
$
{slap-connection:computer-id}
varnish-computer-guid = ${slap-connection:computer-id}
cloudooo-json =
cloudooo-json =
bt5 = erp5_full_text_myisam_catalog
bt5 = erp5_full_text_myisam_catalog
erp5_configurator_standard
erp5_configurator_standard
erp5_configurator_maxma_demo
erp5_configurator_maxma_demo
erp5_configurator_ung
erp5_configurator_ung
erp5_configurator_run_my_doc
erp5_configurator_run_my_doc
bt5-repository-url =
${local-bt5-repository:list
}
bt5-repository-url =
{{ local_bt5_repository }
}
smtp-url = smtp://localhost:25/
smtp-url = smtp://localhost:25/
# rest of parts are candidates for some generic stuff
# rest of parts are candidates for some generic stuff
[basedirectory]
[basedirectory]
recipe = slapos.cookbook:mkdirectory
recipe = slapos.cookbook:mkdirectory
services = $
$
{rootdirectory:etc}/run
services = ${rootdirectory:etc}/run
[rootdirectory]
[rootdirectory]
recipe = slapos.cookbook:mkdirectory
recipe = slapos.cookbook:mkdirectory
etc = $
$
{buildout:directory}/etc
etc = ${buildout:directory}/etc
software/erp5/instance.cfg
View file @
0026f37b
...
@@ -25,7 +25,7 @@ snippet-fontconfig = ${template-snippet-fontconfig:output}
...
@@ -25,7 +25,7 @@ snippet-fontconfig = ${template-snippet-fontconfig:output}
[switch-softwaretype]
[switch-softwaretype]
recipe = slapos.cookbook:softwaretype
recipe = slapos.cookbook:softwaretype
default = ${template-erp5-development:rendered}
default = ${template-erp5-development:rendered}
production = ${template-erp5-production:
output
}
production = ${template-erp5-production:
rendered
}
kumofs = ${template-kumofs:output}
kumofs = ${template-kumofs:output}
memcached = ${template-memcached:rendered}
memcached = ${template-memcached:rendered}
cloudooo = $${dynamic-template-cloudooo:output}
cloudooo = $${dynamic-template-cloudooo:output}
...
...
software/erp5/software.cfg
View file @
0026f37b
...
@@ -121,11 +121,11 @@ extra-context =
...
@@ -121,11 +121,11 @@ extra-context =
key template_zope template-zope:output
key template_zope template-zope:output
[template-erp5-production]
[template-erp5-production]
recipe = slapos.recipe.templat
e
< = template-jinja2-bas
e
url = ${:_profile_base_location_}/
instance-erp5-production.cfg
filename =
instance-erp5-production.cfg
md5sum =
54ad3c5e92af02d0db98d1085adf986d
md5sum =
1b458ff6a9b82f24f29f71b58f559186
output = ${buildout:directory}/template-erp5-production.cfg
extra-context =
mode = 0644
key local_bt5_repository local-bt5-repository:list
[template-snippet-zeo]
[template-snippet-zeo]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
...
...
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