# For machines managed through systemd-nspawn class profiles::nspawned { case $facts['os']['family'] { 'Debian': { ensure_packages(['dbus', 'systemd-container']) } 'RedHat': { # Only tested on rocky ensure_packages(['dbus', 'systemd-container']) } 'Arch': { # Technicly pulled in through base -> systemd -> dbus, but this # is explicit. ensure_packages(['dbus']) } default: { } } service { 'dbus.socket': ensure => running, } }