Skip to content

Commit aded8fc

Browse files
authored
Merge pull request #1024 from zen-fu/trixie
remove dependency on cgroupfs-mount for Debian trixie
2 parents e662181 + bbcdce5 commit aded8fc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

manifests/params.pp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,10 @@
344344
# https://github.com/docker/docker/issues/4734
345345
$prerequired_packages = $facts['os']['family'] ? {
346346
'Debian' => $facts['os']['name'] ? {
347-
'Debian' => ['cgroupfs-mount',],
347+
'Debian' => $facts['os']['distro']['codename'] ? {
348+
/bullseye|bookworm/ => ['cgroupfs-mount',],
349+
default => []
350+
},
348351
'Ubuntu' => ['cgroup-lite', 'apparmor',],
349352
default => [],
350353
},

0 commit comments

Comments
 (0)