Merge pull request #35 from SUNET/jocar-fix-eyaml
Make sure of separator
This commit is contained in:
commit
46f4fc6d33
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue