Commit 54ec14b7 authored by ssrq's avatar ssrq

[type/__easy_rsa_ca] Remove PKI presence check from manifest

Due to cdist's design the pki-presence explorer cannot be trusted at this stage.
It would be possible that cdist executes the explorer before code-remote of
__easy_rsa_pki has been executed, potentially leading to a false negative.
parent c154307e
......@@ -32,10 +32,3 @@ in
exit 1
pki_state=$(cat "${__object:?}/explorer/pki-presence")
if [ "${pki_state}" = "absent" ] && [ -z ${__cdist_dry_run+real_run} ]; then
echo "No PKI found. Exiting" >&2
exit 1
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