Change wrap command to add YAML section delimiter

Change-Id: Ic2f57e14c1c71d49bbd92a241dec9ed3163f6195
This commit is contained in:
Ian H. Pittwood 2020-01-21 13:20:53 -06:00
parent 4cbc708c1d
commit fe592312aa
1 changed files with 6 additions and 1 deletions

View File

@ -262,7 +262,12 @@ def wrap_secret(
output_doc = psm.get_encrypted_secrets()[0][0]
else:
output_doc = managed_secret.pegleg_document
files.safe_dump(output_doc, output_path, sort_keys=False)
files.safe_dump(
output_doc,
output_path,
sort_keys=False,
explicit_start=True,
explicit_end=True)
def check_cert_expiry(site_name, duration=60):