testing drainreboot puppet-sunet branch
This commit is contained in:
parent
3a3cdf475c
commit
c543de86b7
2 changed files with 4 additions and 26 deletions
|
@ -23,6 +23,7 @@
|
|||
rut::infra_ca_rp:
|
||||
sunet::microk8s::node:
|
||||
channel: 1.31/stable
|
||||
drain_reboot_cron: true
|
||||
sunet::frontend::register_sites:
|
||||
sites:
|
||||
kubeprod.rut.sunet.se:
|
||||
|
|
|
@ -125,32 +125,9 @@ def main():
|
|||
|
||||
# When/if we want we can do stuff to modules here
|
||||
if host_info:
|
||||
if host_info["fqdn"] == "internal-sto4-test-monitor-1.rut.sunet.se":
|
||||
modules["sunet"]["tag"] = "mifr-monitor*"
|
||||
if host_info["fqdn"] == "internal-sto4-test-k8sw-0.rut.sunet.se":
|
||||
modules["sunet"]["tag"] = "mifr-monitor*"
|
||||
# if host_info["fqdn"] == "internal-sto1-test-forgejo-2.platform.sunet.se":
|
||||
# modules["sunet"]["tag"] = "testing-2*"
|
||||
# if host_info["fqdn"] == "internal-sto3-test-monitor-1.platform.sunet.se":
|
||||
# modules["sunet"]["tag"] = "jocar-monitor-handle-legacy-scriptherder-2024-02-14-v10"
|
||||
# if host_info["fqdn"] == "internal-sto1-test-actrunner-1.platform.sunet.se":
|
||||
# modules["sunet"]["tag"] = "testing-2*"
|
||||
## modules["nagioscfg"]["tag"] = "*mifr-2*"
|
||||
# # modules["stdlib"] = {
|
||||
# # "tag": "sunet-2*",
|
||||
# # "upgrade": "yes",
|
||||
# "repo": "https://github.com/SUNET/puppetlabs-stdlib.git",
|
||||
# }
|
||||
# modules["apt"] = {
|
||||
# "tag": "sunet-2*",
|
||||
# "upgrade": "yes",
|
||||
# "repo": "https://github.com/SUNET/puppetlabs-apt.git",
|
||||
# }
|
||||
# modules["concat"] = {
|
||||
# "tag": "sunet-2*",
|
||||
# "upgrade": "yes",
|
||||
# "repo": "https://github.com/SUNET/puppetlabs-concat.git",
|
||||
# }
|
||||
if host_info["fqdn"] == "internal-sto4-prod-k8sc-1.rut.sunet.se":
|
||||
modules["sunet"]["tag"] = "drainreboot*"
|
||||
|
||||
# if host_info:
|
||||
# if host_info["environment"] == "test":
|
||||
# modules["sunet"]["tag"] = "kano-mail-2*"
|
||||
|
|
Loading…
Add table
Reference in a new issue