Remove modules not needed in ubuntu24

This commit is contained in:
Patrik Holmqvist 2024-12-19 10:25:03 +01:00
parent c9d8a81adf
commit e3b3192506
Signed by: pahol
GPG key ID: 5D5B0D4E93F77273

View file

@ -206,6 +206,24 @@ def main():
if OS_INFO["VERSION_CODENAME"] == "bullseye":
pass
if OS_INFO["VERSION_CODENAME"] == "noble":
del modules["apt"]
del modules["augeas"]
del modules["concat"]
del modules["cosmos"]
del modules["dhcp"]
del modules["docker"]
del modules["hiera-gpg"]
del modules["pound"]
del modules["pyff"]
del modules["python"]
del modules["stdlib"]
del modules["sysctl"]
del modules["ufw"]
del modules["varnish"]
del modules["vcsrepo"]
del modules["xinetd"]
if re.match(r'^idm-sto\d-qa-', host_info["fqdn"]):
modules["sunet"]["tag"] = "jocar-idm-*"