Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
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
Xiaowu Zhang
slapos.package
Commits
aa4a147c
Commit
aa4a147c
authored
Aug 03, 2015
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use erp5-cluster branch and set proper list of business templates to
install.
parent
1d829ae2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
5 deletions
+40
-5
playbook/roles/standalone-shared/templates/request-wendelin.j2
...ook/roles/standalone-shared/templates/request-wendelin.j2
+39
-4
playbook/wendelin-standalone.yml
playbook/wendelin-standalone.yml
+1
-1
No files found.
playbook/roles/standalone-shared/templates/request-wendelin.j2
View file @
aa4a147c
import json
software_url = '{{ software_release_url }}'
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'
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
# Choose a title
title = "instance-of-{{ playbook_name }}"
title = "instance-of-{{ playbook_name }}"
supply(software_url, computer_id)
request(software_url,
request(software_url,
title,
title,
filter_kw={'computer_guid': computer_id},
filter_kw={'computer_guid': computer_id},
software_type='default',
software_type='create-erp5-site',
partition_parameter_kw={}
partition_parameter_kw={
'_': json.dumps(parameter_dict, sort_keys=True, indent=2),
}
)
)
playbook/wendelin-standalone.yml
View file @
aa4a147c
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
connection
:
local
connection
:
local
vars
:
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/
erp5-cluster-0.1.1
/software/wendelin/software.cfg
startup_playbook_id
:
wendelin-standalone.yml
startup_playbook_id
:
wendelin-standalone.yml
playbook_name
:
wendelin
playbook_name
:
wendelin
request_instance_template
:
request-wendelin.j2
request_instance_template
:
request-wendelin.j2
...
...
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