bundles/letsencrypt: fix concat_and_deploy comment
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
af86236f42
commit
db3a15310c
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
deploy_cert() {<%text>
|
deploy_cert() {<%text>
|
||||||
local DOMAIN="${1}" KEYFILE="${2}" CERTFILE="${3}" FULLCHAINFILE="${4}" CHAINFILE="${5}" TIMESTAMP="${6}"</%text>
|
local DOMAIN="${1}" KEYFILE="${2}" CERTFILE="${3}" FULLCHAINFILE="${4}" CHAINFILE="${5}" TIMESTAMP="${6}"</%text>
|
||||||
% for service, config in node.metadata.get('letsencrypt', {}).get('concat_and_deploy', {}).items():
|
% for service, config in node.metadata.get('letsencrypt', {}).get('concat_and_deploy', {}).items():
|
||||||
<%text>
|
|
||||||
### concat_and_deploy ${service}</%text>
|
# concat_and_deploy ${service}
|
||||||
if [ "$DOMAIN" = "${config['match_domain']}" ]; then
|
if [ "$DOMAIN" = "${config['match_domain']}" ]; then
|
||||||
cat $KEYFILE > ${config['target']}
|
cat $KEYFILE > ${config['target']}
|
||||||
cat $FULLCHAINFILE >> ${config['target']}
|
cat $FULLCHAINFILE >> ${config['target']}
|
||||||
|
|
Loading…
Reference in a new issue