Merge pull request #35 from SUNET/jocar-fix-eyaml

Make sure of separator
This commit is contained in:
Micke Nordin 2023-02-07 08:57:49 +01:00 committed by GitHub
commit 46f4fc6d33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -151,7 +151,7 @@ function edit_file_on_host() {
edit_gpg_file ${SECRETFILE}
elif [ -f /etc/hiera/eyaml/public_certkey.pkcs7.pem ]; then
# default to eyaml if the key exists and none of the secrets-file above exist
touch ${EYAMLFILE}
echo "---" > ${EYAMLFILE}
edit_eyaml_file ${EYAMLFILE}
fi
}