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
Nirina Malard
slapos
Commits
a59551e8
Commit
a59551e8
authored
Jul 19, 2012
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added promise for cloudooo and openoffice at erp5 software release
Only check if cloudooo and openoffice port is listenning.
parent
baa82aa0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
14 deletions
+23
-14
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+1
-1
stack/erp5/instance-cloudoo.cfg.in
stack/erp5/instance-cloudoo.cfg.in
+22
-13
No files found.
stack/erp5/buildout.cfg
View file @
a59551e8
...
@@ -235,7 +235,7 @@ mode = 640
...
@@ -235,7 +235,7 @@ mode = 640
[template-cloudooo]
[template-cloudooo]
recipe = slapos.recipe.build:download
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-cloudoo.cfg.in
url = ${:_profile_base_location_}/instance-cloudoo.cfg.in
md5sum =
d3b3afac9099823ba2853070324a29c8
md5sum =
53492e520be57f4c6a9eacd107c8d446
mode = 640
mode = 640
[template-zope-conf]
[template-zope-conf]
...
...
stack/erp5/instance-cloudoo.cfg.in
View file @
a59551e8
...
@@ -5,6 +5,8 @@
...
@@ -5,6 +5,8 @@
parts =
parts =
publish-cloudooo-connection-information
publish-cloudooo-connection-information
cloudooo-instance
cloudooo-instance
promise
promise-openoffice
eggs-directory = {{ eggs_directory }}
eggs-directory = {{ eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
offline = true
offline = true
...
@@ -22,8 +24,8 @@ port = 23000
...
@@ -22,8 +24,8 @@ port = 23000
openoffice-port = 23060
openoffice-port = 23060
# Paths
# Paths
configuration-file = ${
root
directory:etc}/cloudooo.cfg
configuration-file = ${directory:etc}/cloudooo.cfg
wrapper = ${
basedirectory:services
}/cloudooo
wrapper = ${
directory:service
}/cloudooo
# Paths: Data
# Paths: Data
data-directory = ${directory:cloudooo-data}
data-directory = ${directory:cloudooo-data}
...
@@ -40,25 +42,32 @@ ooo-uno-path = {{ parameter_dict['libreoffice-bin'] }}/basis-link/program
...
@@ -40,25 +42,32 @@ ooo-uno-path = {{ parameter_dict['libreoffice-bin'] }}/basis-link/program
[fontconfig-instance]
[fontconfig-instance]
recipe = slapos.cookbook:fontconfig
recipe = slapos.cookbook:fontconfig
conf-path = ${
root
directory:etc}/font.conf
conf-path = ${directory:etc}/font.conf
font-system-folder = {{ parameter_dict['fonts'] }}
font-system-folder = {{ parameter_dict['fonts'] }}
font-folder = ${directory:font}
font-folder = ${directory:font}
url-list = {{ json.get('font_url_list', []) | join(' ') }}
url-list = {{ json.get('font_url_list', []) | join(' ') }}
service-folder = ${
basedirectory:services
}
service-folder = ${
directory:service
}
onetimedownload_path = {{ bin_directory }}/onetimedownload
onetimedownload_path = {{ bin_directory }}/onetimedownload
# rest of parts are candidates for some generic stuff
[promise]
[basedirectory]
recipe = slapos.cookbook:check_port_listening
recipe = slapos.cookbook:mkdirectory
path = ${directory:promise}/cloudooo
services = ${rootdirectory:etc}/run
hostname = ${cloudooo-instance:ip}
port = ${cloudooo-instance:port}
[directory]
[promise-openoffice]
recipe = slapos.cookbook:mkdirectory
recipe = slapos.cookbook:check_port_listening
cloudooo-data = ${rootdirectory:srv}/cloudooo
path = ${directory:promise}/openoffice
font = ${rootdirectory:srv}/font
hostname = ${cloudooo-instance:ip}
port = ${cloudooo-instance:openoffice-port}
[rootdirectory]
# rest of parts are candidates for some generic stuff
[directory]
recipe = slapos.cookbook:mkdirectory
recipe = slapos.cookbook:mkdirectory
etc = ${buildout:directory}/etc
etc = ${buildout:directory}/etc
srv = ${buildout:directory}/srv
srv = ${buildout:directory}/srv
service = ${:etc}/run
promise = ${:etc}/promise
cloudooo-data = ${:srv}/cloudooo
font = ${:srv}/font
{% endif %}
{% endif %}
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