Remove modules not needed in ubuntu24
This commit is contained in:
parent
c9d8a81adf
commit
e3b3192506
1 changed files with 18 additions and 0 deletions
|
@ -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-*"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue