Fix syntax in setup_cosmos_modules

This commit is contained in:
Patrik Holmqvist 2024-09-25 12:17:12 +02:00
parent b9fcddb344
commit bb391413a8
Signed by: pahol
GPG key ID: 5D5B0D4E93F77273

View file

@ -98,31 +98,31 @@ def main():
"upgrade": "yes",
"tag": "sunet-2*",
}
modules.update[augeas_module]
modules.update(augeas_module)
apt_module = {
"repo": "https://github.com/SUNET/puppetlabs-apt.git",
"upgrade": "yes",
"tag": "sunet-2*",
}
modules.update[apt_module]
modules.update(apt_module)
concat_module = {
"repo": "https://github.com/SUNET/puppetlabs-concat.git",
"upgrade": "yes",
"tag": "sunet-2*",
}
modules.update[concat_module]
modules.update(concat_module)
stdlib_module = {
"repo": "https://github.com/SUNET/puppetlabs-stdlib.git",
"upgrade": "yes",
"tag": "sunet-2*",
}
modules.update[stdlib_module]
modules.update(stdlib_module)
vcsrepo_module = {
"repo": "https://github.com/SUNET/puppetlabs-vcsrepo.git",
"upgrade": "yes",
"tag": "sunet-2*",
}
modules.update[vcsrepo_module]
modules.update(vcsrepo_module)
# Make test machines use special test branch of puppet-sunet:
if OS_INFO["ID"] == "ubuntu":