Commit d48538af authored by Vincent Pelletier's avatar Vincent Pelletier Committed by Julien Muchembled

erp5: Fix missing CA directories.

Also, rename test CA directories so it's obvious they are designated for
tests.
parent 980879f6
...@@ -284,7 +284,7 @@ md5sum = 4d2207931975e580d04d0b0506034564 ...@@ -284,7 +284,7 @@ md5sum = 4d2207931975e580d04d0b0506034564
[template-zope] [template-zope]
< = download-base < = download-base
filename = instance-zope.cfg.in filename = instance-zope.cfg.in
md5sum = 7c0e86adda18798f0041af5c8fa72312 md5sum = f6d977cbd03b6f7346113a09e5578757
link-binary = link-binary =
${coreutils:location}/bin/basename ${coreutils:location}/bin/basename
${coreutils:location}/bin/cat ${coreutils:location}/bin/cat
......
...@@ -35,12 +35,12 @@ run-test-suite-binary = {{ parameter_dict['bin-directory'] }}/runTestSuite ...@@ -35,12 +35,12 @@ run-test-suite-binary = {{ parameter_dict['bin-directory'] }}/runTestSuite
recipe = slapos.cookbook:certificate_authority recipe = slapos.cookbook:certificate_authority
openssl-binary = ${binary-link:target-directory}/openssl openssl-binary = ${binary-link:target-directory}/openssl
ca-dir = ${directory:test-ca-dir} ca-dir = ${directory:test-ca-dir}
requests-directory = ${directory:ca-requests} requests-directory = ${directory:test-ca-requests}
wrapper = ${directory:services}/test-ca wrapper = ${directory:services}/test-ca
ca-private = ${directory:ca-private} ca-private = ${directory:test-ca-private}
ca-certs = ${directory:ca-certs} ca-certs = ${directory:test-ca-certs}
ca-newcerts = ${directory:ca-newcerts} ca-newcerts = ${directory:test-ca-newcerts}
ca-crl = ${directory:ca-crl} ca-crl = ${directory:test-ca-crl}
{%- endif %} {%- endif %}
[directory] [directory]
...@@ -67,11 +67,17 @@ var = ${buildout:directory}/var ...@@ -67,11 +67,17 @@ var = ${buildout:directory}/var
promises = ${:etc}/promise promises = ${:etc}/promise
unit-test-path = ${:srv}/test-instance/unit_test unit-test-path = ${:srv}/test-instance/unit_test
test-ca-dir = ${:srv}/test-ca test-ca-dir = ${:srv}/test-ca
ca-requests = ${:test-ca-dir}/requests test-ca-requests = ${:test-ca-dir}/requests
ca-private = ${:test-ca-dir}/private test-ca-private = ${:test-ca-dir}/private
ca-certs = ${:test-ca-dir}/certs test-ca-certs = ${:test-ca-dir}/certs
ca-newcerts = ${:test-ca-dir}/newcerts test-ca-newcerts = ${:test-ca-dir}/newcerts
ca-crl = ${:test-ca-dir}/crl test-ca-crl = ${:test-ca-dir}/crl
ca-dir = ${:srv}/ca
ca-requests = ${:ca-dir}/requests
ca-private = ${:ca-dir}/private
ca-certs = ${:ca-dir}/certs
ca-newcerts = ${:ca-dir}/newcerts
ca-crl = ${:ca-dir}/crl
[binary-link] [binary-link]
recipe = slapos.cookbook:symbolic.link recipe = slapos.cookbook:symbolic.link
...@@ -79,12 +85,12 @@ target-directory = ${directory:bin} ...@@ -79,12 +85,12 @@ target-directory = ${directory:bin}
link-binary = {{ dumps(parameter_dict['link-binary']) }} link-binary = {{ dumps(parameter_dict['link-binary']) }}
[certificate-authority-common] [certificate-authority-common]
requests-directory = ${directory:requests} requests-directory = ${directory:ca-requests}
ca-dir = ${directory:ca-dir} ca-dir = ${directory:ca-dir}
ca-private = ${directory:private} ca-private = ${directory:ca-private}
ca-certs = ${directory:certs} ca-certs = ${directory:ca-certs}
ca-newcerts = ${directory:newcerts} ca-newcerts = ${directory:ca-newcerts}
ca-crl = ${directory:crl} ca-crl = ${directory:ca-crl}
[{{ section('certificate-authority') }}] [{{ section('certificate-authority') }}]
< = certificate-authority-common < = certificate-authority-common
......
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