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
Aurel
slapos
Commits
48b96805
Commit
48b96805
authored
Dec 29, 2014
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more palo
parent
5fd30cc8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
software/palo/instance.cfg.in
software/palo/instance.cfg.in
+8
-6
software/palo/palo.ini.in
software/palo/palo.ini.in
+4
-4
No files found.
software/palo/instance.cfg.in
View file @
48b96805
...
...
@@ -22,8 +22,10 @@ configuration.name = John Doe
configuration.erp5_url =
[palo_olap_parameter]
palo_olap_host = $${instance-parameter:ipv4-random}
ipv4 = $${instance-parameter:ipv4-random}
ipv6 = $${instance-parameter:ipv6-random}
palo_olap_port = 7777
palo_olap_admin_port = 7778
[directory]
recipe = slapos.cookbook:mkdirectory
...
...
@@ -53,13 +55,11 @@ context = import json_module json
key directory_var directory:var
key directory_log directory:log
key login_woker erp5_login_worker:wrapper-path
key palo_olap_repository_location :palo_olap_repository_location
raw palo_olap_repository_location ${palo_olap-repository.git:location}
section parameter instance-parameter
section palo_olap_parameter palo_olap_parameter
key erp5_url instance-parameter:configuration.erp5_url
palo_olap_repository_location = ${palo_olap-repository.git:location}
[palo]
# This recipe will try to "exec" the command-line after separating parameters.
recipe = slapos.cookbook:wrapper
...
...
@@ -71,5 +71,7 @@ wrapper-path = TODO
[publish-connection-parameter]
recipe = slapos.cookbook:publish
name = Hello $${instance-parameter:configuration.name}!
palo_olap_url = $${instance-parameter:}
palo_olap_url = $${palo_olap_parameter:ipv4}:$${palo_olap_parameter:palo_olap_port}
palo_olap_ipv6_url = [$${palo_olap_parameter:ipv6}]:$${palo_olap_parameter:palo_olap_port}
palo_olap_admin_url = $${palo_olap_parameter:ipv4}:$${palo_olap_parameter:palo_olap_admin_port}
software/palo/palo.ini.in
View file @
48b96805
data-directory {{ directory_var }}
template-directory {{
palo_olap_repository_location
}}/Api
http {{
instance_parameter:palo_olap_host }} {{ instance_parameter:
palo_olap_port }}
http
[2001:67c:1254:e:c1::4206] 7770
admin
10.0.221.4 7771
template-directory {{
palo_olap_repository_location
}}/Api
http {{
palo_olap_parameter.ipv4 }} {{ palo_olap_parameter.
palo_olap_port }}
http
{{ palo_olap_parameter.ipv6 }} {{ palo_olap_parameter.palo_olap_port }}
admin
{{ palo_olap_parameter.ipv4 }} {{ palo_olap_parameter.palo_olap_admin_port }}
log {{ directory_log }}/palo_olap.log
verbose debug
user-login
...
...
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