Commit 9a5eaef4 authored by Nicolas Wavrant's avatar Nicolas Wavrant

slaprunner: follow conventions for templates in part directory

parent 95a90042
...@@ -28,7 +28,7 @@ parts = ...@@ -28,7 +28,7 @@ parts =
instance-runner-import instance-runner-import
instance-runner-export instance-runner-export
slapos-cookbook slapos-cookbook
slapos-cfg-template template-slapos-cfg
# XXX: we have to manually add this for resilience # XXX: we have to manually add this for resilience
rdiff-backup rdiff-backup
collective.recipe.template-egg collective.recipe.template-egg
...@@ -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 = 1b4dcbf34da9c781714f27e8336ba340 md5sum = 9878115a2969489b57e8563ef3d4d6d3
mode = 0644 mode = 0644
[template-runner-import-script] [template-runner-import-script]
...@@ -116,7 +116,7 @@ filename = launcher.in ...@@ -116,7 +116,7 @@ filename = launcher.in
mode = 0644 mode = 0644
location = ${buildout:parts-directory}/${:_buildout_section_name_} location = ${buildout:parts-directory}/${:_buildout_section_name_}
[slapos-cfg-template] [template-slapos-cfg]
recipe = hexagonit.recipe.download recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename} url = ${:_profile_base_location_}/template/${:filename}
md5sum = 847df63cf5a226ed338d7ca34b0220b5 md5sum = 847df63cf5a226ed338d7ca34b0220b5
......
...@@ -21,7 +21,7 @@ parts = ...@@ -21,7 +21,7 @@ parts =
instance-runner-import instance-runner-import
instance-runner-export instance-runner-export
slapos-cookbook slapos-cookbook
slapos-cfg-template template-slapos-cfg
# XXX: we have to manually add this for resilience # XXX: we have to manually add this for resilience
rdiff-backup rdiff-backup
collective.recipe.template-egg collective.recipe.template-egg
......
...@@ -498,7 +498,7 @@ port = $${slap-parameter:monitor-port} ...@@ -498,7 +498,7 @@ port = $${slap-parameter:monitor-port}
[slapos-cfg] [slapos-cfg]
recipe = slapos.recipe.template:jinja2 recipe = slapos.recipe.template:jinja2
template = ${slapos-cfg-template:location}/${slapos-cfg-template:filename} template = ${template-slapos-cfg:location}/${template-slapos-cfg:filename}
rendered = $${slaprunner:slapos.cfg} rendered = $${slaprunner:slapos.cfg}
mode = 700 mode = 700
context = context =
...@@ -506,7 +506,7 @@ context = ...@@ -506,7 +506,7 @@ context =
[slapos-test-cfg] [slapos-test-cfg]
recipe = slapos.recipe.template:jinja2 recipe = slapos.recipe.template:jinja2
template = ${slapos-cfg-template:location}/${slapos-cfg-template:filename} template = ${template-slapos-cfg:location}/${template-slapos-cfg:filename}
rendered = $${test-runner:slapos.cfg} rendered = $${test-runner:slapos.cfg}
mode = 700 mode = 700
context = context =
......
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