Commit 48b96805 authored by Jérome Perrin's avatar Jérome Perrin

more palo

parent 5fd30cc8
...@@ -22,8 +22,10 @@ configuration.name = John Doe ...@@ -22,8 +22,10 @@ configuration.name = John Doe
configuration.erp5_url = configuration.erp5_url =
[palo_olap_parameter] [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_port = 7777
palo_olap_admin_port = 7778
[directory] [directory]
recipe = slapos.cookbook:mkdirectory recipe = slapos.cookbook:mkdirectory
...@@ -53,13 +55,11 @@ context = import json_module json ...@@ -53,13 +55,11 @@ context = import json_module json
key directory_var directory:var key directory_var directory:var
key directory_log directory:log key directory_log directory:log
key login_woker erp5_login_worker:wrapper-path 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 parameter instance-parameter
section palo_olap_parameter palo_olap_parameter section palo_olap_parameter palo_olap_parameter
key erp5_url instance-parameter:configuration.erp5_url key erp5_url instance-parameter:configuration.erp5_url
palo_olap_repository_location = ${palo_olap-repository.git:location}
[palo] [palo]
# This recipe will try to "exec" the command-line after separating parameters. # This recipe will try to "exec" the command-line after separating parameters.
recipe = slapos.cookbook:wrapper recipe = slapos.cookbook:wrapper
...@@ -71,5 +71,7 @@ wrapper-path = TODO ...@@ -71,5 +71,7 @@ wrapper-path = TODO
[publish-connection-parameter] [publish-connection-parameter]
recipe = slapos.cookbook:publish recipe = slapos.cookbook:publish
name = Hello $${instance-parameter:configuration.name}! palo_olap_url = $${palo_olap_parameter:ipv4}:$${palo_olap_parameter:palo_olap_port}
palo_olap_url = $${instance-parameter:} 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}
data-directory {{ directory_var }} data-directory {{ directory_var }}
template-directory {{palo_olap_repository_location}}/Api template-directory {{ palo_olap_repository_location }}/Api
http {{ instance_parameter:palo_olap_host }} {{ instance_parameter:palo_olap_port }} http {{ palo_olap_parameter.ipv4 }} {{ palo_olap_parameter.palo_olap_port }}
http [2001:67c:1254:e:c1::4206] 7770 http {{ palo_olap_parameter.ipv6 }} {{ palo_olap_parameter.palo_olap_port }}
admin 10.0.221.4 7771 admin {{ palo_olap_parameter.ipv4 }} {{ palo_olap_parameter.palo_olap_admin_port }}
log {{ directory_log }}/palo_olap.log log {{ directory_log }}/palo_olap.log
verbose debug verbose debug
user-login user-login
......
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