summaryrefslogtreecommitdiff
path: root/manifests/nspawned.pp
blob: 47345e02e91c8ab1ecb295363eba86f1c1c354f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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,
  }

}