also generate zerotier secret for vm

This commit is contained in:
Jörg Thalheim
2023-09-28 17:57:44 +02:00
parent 9a518cd816
commit b42d0598bc

View File

@@ -40,3 +40,6 @@ def test_upload_secret(
cli.run(["secrets", "generate", "vm1"])
assert age_key.lstat().st_mtime_ns == age_key_mtime
assert identity_secret.lstat().st_mtime_ns == secret1_mtime
machine_path = sops_secrets_folder().joinpath("vm1-zerotier-identity-secret").joinpath("machines").joinpath("vm1")
assert machine_path.exists()