Commit 3f080e78 authored by Nicolas Wavrant's avatar Nicolas Wavrant Committed by Cédric Le Ninivin

slaprunner: knowledge0 file path is transmitted to slaprunner throught slapos.cfg file

parent 29d2bd2e
...@@ -44,7 +44,7 @@ mode = 0644 ...@@ -44,7 +44,7 @@ mode = 0644
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner.cfg url = ${:_profile_base_location_}/instance-runner.cfg
output = ${buildout:directory}/template-runner.cfg.in output = ${buildout:directory}/template-runner.cfg.in
md5sum = c2c14dad43ca1876795585f42e91ff1d md5sum = 89d3e017ace46f2f86f2abd962e2db5a
mode = 0644 mode = 0644
[instance-runner-import] [instance-runner-import]
...@@ -103,7 +103,7 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_} ...@@ -103,7 +103,7 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_}
[slapos-cfg-template] [slapos-cfg-template]
recipe = hexagonit.recipe.download recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename} url = ${:_profile_base_location_}/template/${:filename}
md5sum = f89717a11bd893eb746940004ca6b46a md5sum = 65dc3a88476b8e0366dbd40493ad4bc9
location = ${buildout:parts-directory}/${:_buildout_section_name_} location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = slapos.cfg.in filename = slapos.cfg.in
download-only = true download-only = true
......
...@@ -490,6 +490,7 @@ context = ...@@ -490,6 +490,7 @@ context =
key instance_monitoring_url slaprunner:instance-monitor-url key instance_monitoring_url slaprunner:instance-monitor-url
key ipv4 slaprunner:ipv4 key ipv4 slaprunner:ipv4
key ipv6 slaprunner:ipv6 key ipv6 slaprunner:ipv6
raw knowledge0_file $${buildout:directory}/$${private:filename}
key log_dir slaprunner:log_dir key log_dir slaprunner:log_dir
key partition_amount slaprunner:partition-amount key partition_amount slaprunner:partition-amount
key private_key slaprunner:private_key key private_key slaprunner:private_key
......
...@@ -29,6 +29,7 @@ debug = {{ debug }} ...@@ -29,6 +29,7 @@ debug = {{ debug }}
auto_deploy = {{ auto_deploy }} auto_deploy = {{ auto_deploy }}
auto_deploy_instance = {{ auto_deploy_instance }} auto_deploy_instance = {{ auto_deploy_instance }}
autorun = {{ autorun }} autorun = {{ autorun }}
knowledge0_cfg = {{ knowledge0_file }}
[slapproxy] [slapproxy]
host = {{ proxy_host }} host = {{ proxy_host }}
......
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