diff options
Diffstat (limited to 'manifests/nspawned.pp')
-rw-r--r-- | manifests/nspawned.pp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/manifests/nspawned.pp b/manifests/nspawned.pp new file mode 100644 index 0000000..47345e0 --- /dev/null +++ b/manifests/nspawned.pp @@ -0,0 +1,20 @@ +# For machines managed through systemd-nspawn +class profiles::nspawned { + case $facts['os']['family'] { + 'Debian': { + 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, + } + +} |