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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Hardik Juneja
slapos
Commits
6d6ac69e
Commit
6d6ac69e
authored
Jul 29, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_bootstrap: add logs
parent
3e91b4b0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
slapos/recipe/erp5_bootstrap/template/erp5_bootstrap.in
slapos/recipe/erp5_bootstrap/template/erp5_bootstrap.in
+3
-0
No files found.
slapos/recipe/erp5_bootstrap/template/erp5_bootstrap.in
View file @
6d6ac69e
...
@@ -92,6 +92,7 @@ if scalability:
...
@@ -92,6 +92,7 @@ if scalability:
# Fix site consistency
# Fix site consistency
if not testIfExist("/%%s/portal_configurator/" %%site_id):
if not testIfExist("/%%s/portal_configurator/" %%site_id):
print "Going to fix site consistency..."
zope_connection = getConnection()
zope_connection = getConnection()
zope_connection.request(
zope_connection.request(
'GET', '/%%s/ERP5Site_launchFixConfigurationConsistency' %%(site_id),
'GET', '/%%s/ERP5Site_launchFixConfigurationConsistency' %%(site_id),
...
@@ -107,6 +108,7 @@ if scalability:
...
@@ -107,6 +108,7 @@ if scalability:
# Install testing scalability business configuration if not exists
# Install testing scalability business configuration if not exists
if testIfExist("/%%s/portal_configurator/" %%site_id) \
if testIfExist("/%%s/portal_configurator/" %%site_id) \
and not testIfExist("/%%s/sale_order_module/" %%site_id):
and not testIfExist("/%%s/sale_order_module/" %%site_id):
print "Going to install testing scalability business configuration.."
zope_connection = getConnection()
zope_connection = getConnection()
zope_connection.request(
zope_connection.request(
'GET', '/%%s/business_configuration_module/1/build' %%site_id,
'GET', '/%%s/business_configuration_module/1/build' %%site_id,
...
@@ -122,6 +124,7 @@ if scalability:
...
@@ -122,6 +124,7 @@ if scalability:
# Create scalability users
# Create scalability users
if testIfExist("/%%s/person_module/scalability_user/getTitle" %%site_id) \
if testIfExist("/%%s/person_module/scalability_user/getTitle" %%site_id) \
and not testIfExist("/%%s/person_module/scalability_user_0/getTitle" %%site_id):
and not testIfExist("/%%s/person_module/scalability_user_0/getTitle" %%site_id):
print Going to create scalability users..
zope_connection = getConnection()
zope_connection = getConnection()
zope_connection.request(
zope_connection.request(
'GET', '/%%s/clone_scalability_user' %%site_id,
'GET', '/%%s/clone_scalability_user' %%site_id,
...
...
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