aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/virtual.pp
blob: 389c83e114a1ea259a9453f285e8b73a3c1d7168 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
class nodo::utils::virtual (
  $ensure = 'installed',
) {
  package { [
    # For running virtual machines
    'qemu',
    'qemu-kvm',
    'libguestfs-tools',
    #'virtualbox-guest-additions-iso',

    # For graphical interfacing with virtual machines
    'xpra',
    'xvfb',
    'virt-viewer',
    'tigervnc-viewer',
    'spice-client-gtk',
    'socat',
    'rdesktop',
  ]:
    ensure => $ensure,
  }

  package { [
    'x2goclient',
  ]:
    ensure          => $ensure,
    install_options => [ '--no-install-recommends' ], # otherwise it installs openssh-server
  }

  #package { 'spice-client':
  #  ensure => $::lsbdistcodename ? {
  #    'jessie' => installed,
  #    default  => absent,
  #  },
  #}

  # We're not managing this package as we're favouring the
  # virtualbox package which doesn't needs it.
  #package { [
  #  'virtualbox-fuse',
  #]:
  #  ensure => $ensure,
  #}
}