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
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
HongzheWang
slapos
Commits
1a405f22
Commit
1a405f22
authored
Mar 29, 2012
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Jinja2-ify instance-erp5-development.cfg .
parent
a591a4c7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
136 additions
and
6 deletions
+136
-6
software/erp5/instance-erp5-development.cfg.in
software/erp5/instance-erp5-development.cfg.in
+129
-0
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-erp5-development.cfg
→
software/erp5/instance-erp5-development.cfg
.in
View file @
1a405f22
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
#############################
#############################
[buildout]
[buildout]
extends =
${template-zope:output
}
extends =
{{ template_zope }
}
parts +=
parts +=
request-mariadb
request-mariadb
request-cloudooo
request-cloudooo
...
@@ -15,8 +15,8 @@ parts +=
...
@@ -15,8 +15,8 @@ parts +=
erp5-update
erp5-update
test-runner
test-runner
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
[slap-parameter]
[slap-parameter]
...
@@ -26,71 +26,71 @@ cloudooo-json =
...
@@ -26,71 +26,71 @@ cloudooo-json =
[test-runner]
[test-runner]
recipe = slapos.cookbook:erp5.test
recipe = slapos.cookbook:erp5.test
certificate-authority-path = $
$
{test-certificate-authority:ca-dir}
certificate-authority-path = ${test-certificate-authority:ca-dir}
mysql-url = $
$
{request-mariadb:connection-url}
mysql-url = ${request-mariadb:connection-url}
kumofs-url = $
$
{request-kumofs:connection-url}
kumofs-url = ${request-kumofs:connection-url}
memcached-url = $
$
{request-memcached:connection-url}
memcached-url = ${request-memcached:connection-url}
cloudooo-url = $
$
{request-cloudooo:connection-url}
cloudooo-url = ${request-cloudooo:connection-url}
test-instance-path = $
$
{directory:unit-test-path}
test-instance-path = ${directory:unit-test-path}
prepend-path = $
$
{buildout:bin-directory}
prepend-path = ${buildout:bin-directory}
run-unit-test = $
$
{buildout:bin-directory}/runUnitTest
run-unit-test = ${buildout:bin-directory}/runUnitTest
run-test-suite = $
$
{buildout:bin-directory}/runTestSuite
run-test-suite = ${buildout:bin-directory}/runTestSuite
openssl-binary = $
$
{test-certificate-authority:openssl-binary}
openssl-binary = ${test-certificate-authority:openssl-binary}
run-unit-test-binary =
${buildout:bin-directory
}/runUnitTest
run-unit-test-binary =
{{ bin_directory }
}/runUnitTest
run-test-suite-binary =
${buildout:bin-directory
}/runTestSuite
run-test-suite-binary =
{{ bin_directory }
}/runTestSuite
[test-certificate-authority]
[test-certificate-authority]
recipe = slapos.cookbook:certificate_authority
recipe = slapos.cookbook:certificate_authority
openssl-binary =
${openssl:location
}/bin/openssl
openssl-binary =
{{ openssl_location }
}/bin/openssl
ca-dir = $
$
{directory:test-ca-dir}
ca-dir = ${directory:test-ca-dir}
requests-directory = $
$
{test-cadirectory:requests}
requests-directory = ${test-cadirectory:requests}
wrapper = $
$
{basedirectory:services}/test-ca
wrapper = ${basedirectory:services}/test-ca
ca-private = $
$
{test-cadirectory:private}
ca-private = ${test-cadirectory:private}
ca-certs = $
$
{test-cadirectory:certs}
ca-certs = ${test-cadirectory:certs}
ca-newcerts = $
$
{test-cadirectory:newcerts}
ca-newcerts = ${test-cadirectory:newcerts}
ca-crl = $
$
{test-cadirectory:crl}
ca-crl = ${test-cadirectory:crl}
[test-cadirectory]
[test-cadirectory]
recipe = slapos.cookbook:mkdirectory
recipe = slapos.cookbook:mkdirectory
requests = $
$
{directory:test-ca-dir}/requests
requests = ${directory:test-ca-dir}/requests
private = $
$
{directory:test-ca-dir}/private
private = ${directory:test-ca-dir}/private
certs = $
$
{directory:test-ca-dir}/certs
certs = ${directory:test-ca-dir}/certs
newcerts = $
$
{directory:test-ca-dir}/newcerts
newcerts = ${directory:test-ca-dir}/newcerts
crl = $
$
{directory:test-ca-dir}/crl
crl = ${directory:test-ca-dir}/crl
[erp5-update]
[erp5-update]
recipe = slapos.cookbook:erp5.update
recipe = slapos.cookbook:erp5.update
# Configuration
# Configuration
url = http://$
${zope-instance:user}:$${zope-instance:password}@$${zope-instance:ip}:$
${zope-instance:port}/
url = http://$
{zope-instance:user}:${zope-instance:password}@${zope-instance:ip}:
${zope-instance:port}/
mysql-url = $
$
{request-mariadb:connection-url}
mysql-url = ${request-mariadb:connection-url}
kumofs-url = $
$
{request-kumofs:connection-url}
kumofs-url = ${request-kumofs:connection-url}
memcached-url = $
$
{request-memcached:connection-url}
memcached-url = ${request-memcached:connection-url}
cloudooo-url = $
$
{request-cloudooo:connection-url}
cloudooo-url = ${request-cloudooo:connection-url}
site-id = $
$
{slap-parameter:site-id}
site-id = ${slap-parameter:site-id}
openssl-binary =
${openssl:location
}/bin/openssl
openssl-binary =
{{ openssl_location }
}/bin/openssl
cadir-path = $
$
{erp5-certificate-authority:ca-dir}
cadir-path = ${erp5-certificate-authority:ca-dir}
# Paths
# Paths
update-wrapper = $
$
{basedirectory:services}/erp5-update
update-wrapper = ${basedirectory:services}/erp5-update
# Defaults
# Defaults
configurator-bt5-list = erp5_full_text_myisam_catalog erp5_configurator_standard erp5_configurator_maxma_demo erp5_configurator_ung erp5_configurator_ung erp5_configurator_run_my_doc
configurator-bt5-list = erp5_full_text_myisam_catalog erp5_configurator_standard erp5_configurator_maxma_demo erp5_configurator_ung erp5_configurator_ung erp5_configurator_run_my_doc
bt5-repository-list = $
$
{zope-instance:bt5-repository-list}
bt5-repository-list = ${zope-instance:bt5-repository-list}
[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
sla-computer_guid = $
$
{slap-connection:computer-id}
sla-computer_guid = ${slap-connection:computer-id}
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-mariadb]
[request-mariadb]
<=request-common
<=request-common
...
@@ -101,7 +101,7 @@ software-type = mariadb
...
@@ -101,7 +101,7 @@ software-type = mariadb
<=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
[request-memcached]
[request-memcached]
...
@@ -117,13 +117,13 @@ software-type = kumofs
...
@@ -117,13 +117,13 @@ software-type = kumofs
# 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
[directory]
[directory]
test-ca-dir = $
$
{rootdirectory:srv}/test-ca
test-ca-dir = ${rootdirectory:srv}/test-ca
test-instance-path = $
$
{rootdirectory:srv}/test-instance
test-instance-path = ${rootdirectory:srv}/test-instance
unit-test-path = $
$
{:test-instance-path}/unit_test
unit-test-path = ${:test-instance-path}/unit_test
software/erp5/instance.cfg
View file @
1a405f22
...
@@ -24,7 +24,7 @@ snippet-fontconfig = ${template-snippet-fontconfig:output}
...
@@ -24,7 +24,7 @@ snippet-fontconfig = ${template-snippet-fontconfig:output}
[switch-softwaretype]
[switch-softwaretype]
recipe = slapos.cookbook:softwaretype
recipe = slapos.cookbook:softwaretype
default = ${template-erp5-development:
output
}
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:output}
...
...
software/erp5/software.cfg
View file @
1a405f22
...
@@ -112,11 +112,12 @@ output = ${buildout:directory}/template-memcached.cfg
...
@@ -112,11 +112,12 @@ output = ${buildout:directory}/template-memcached.cfg
mode = 0644
mode = 0644
[template-erp5-development]
[template-erp5-development]
recipe = slapos.recipe.template
< = template-jinja2-base
url = ${:_profile_base_location_}/instance-erp5-development.cfg
filename = instance-erp5-development.cfg
md5sum = 4bc5a2ec8c04b206dab8b98258a69efd
md5sum = f48d9005fc6c667c69d5c9304e4e214e
output = ${buildout:directory}/template-erp5-development.cfg
extra-context =
mode = 0644
key openssl_location openssl:location
key template_zope template-zope:output
[template-erp5-production]
[template-erp5-production]
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