Add matrix puppet module

This commit is contained in:
Magnus Andersson 2024-10-30 13:31:34 +01:00
parent 840af98c51
commit 919bab0791
Signed by: mandersson
GPG key ID: 1F7C896B34B28164

View file

@ -113,12 +113,18 @@ def main():
"upgrade": "yes", "upgrade": "yes",
"tag": "sunet-2*", "tag": "sunet-2*",
}, },
"matrix": {
"repo": "https://platform.sunet.se/matrix/matrix-puppet.git",
"upgrade": "yes",
"tag": "stable-2*",
}
} }
# When/if we want we can do stuff to modules here # When/if we want we can do stuff to modules here
if host_info: if host_info:
if host_info["environment"] == "test": if host_info["environment"] == "test":
modules["sunet"]["tag"] = "testing-2*" modules["sunet"]["tag"] = "testing-2*"
modules["matrix"]["tag"] = "testing-2*"
# if host_info["fqdn"] == "k8sw1.matrix.test..sunet.se": # if host_info["fqdn"] == "k8sw1.matrix.test..sunet.se":
# modules["sunet"]["tag"] = "mandersson-test*" # modules["sunet"]["tag"] = "mandersson-test*"
# Build list of expected file content # Build list of expected file content