Commit 4a0c2ed6 authored by Rafael Monnerat's avatar Rafael Monnerat

Merge branch 'master' into 'master'

Use erp5-cluster branch and set proper list of business templates to install.

This will help Wendelin be really usable (with non cluster way it's almost unusable)

See merge request !6
parents efbd0434 f9cbb980
import json
software_url = '{{ software_release_url }}'
# Choose a SlapOS Node
# If you are deploying SlapOS Master with Webrunner, then computer_id is 'slaprunner'
computer_id = 'local_computer'
supply(software_url, computer_id)
parameter_dict = {
"timezone": "UTC",
"site-id": "erp5",
"bt5": "erp5_full_text_myisam_catalog erp5_configurator_standard erp5_wendelin_configurator",
"developer-list": ["zope"],
"zope-partition-dict": {
"admin": {
"family": "admin",
"thread-amount": 4,
"port-base": 2220,
"instance-count": 1
},
"activities-node": {
"family": "activities",
"thread-amount": 4,
"instance-count": 1,
"timerserver-interval": 1,
"port-base": 2230
},
"distribution-node": {
"family": "distribution",
"thread-amount": 1,
"instance-count": 1,
"port-base": 2210,
"timerserver-interval": 1
}
}
}
# Choose a title
title = "instance-of-{{ playbook_name }}"
supply(software_url, computer_id)
request(software_url,
title,
filter_kw={'computer_guid': computer_id},
software_type='default',
partition_parameter_kw={}
software_type='create-erp5-site',
partition_parameter_kw={
'_': json.dumps(parameter_dict, sort_keys=True, indent=2),
}
)
......@@ -3,10 +3,10 @@
connection: local
vars:
software_release_url: https://lab.nexedi.cn/nexedi/slapos/raw/1.0.3/software/wendelin/software.cfg
software_release_url: https://lab.nexedi.cn/nexedi/slapos/raw/1.0.8.1/software/wendelin/software.cfg
startup_playbook_id: wendelin-standalone.yml
playbook_name: wendelin
request_instance_template: request-wendelin.j2
roles:
- standalone-shared
- standalone-shared
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment