blob: 9792330005cbae0e007240ed883ef1608a3622f5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
if node.os != "debian":
raise BundleError(f"{node.name}: OS {node.os} is not supported.")
actions = {
"apt_update": {
"command": "apt-get update",
"before": {
"pkg_apt:",
},
"triggered": True,
},
}
for package, options in node.metadata.get("apt/packages", {}).items():
pkg_apt[package] = options
|