aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/virtual.pp
blob: f207bfd395c5c64664d0c348943c47ea63b0c521 (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
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 => absent,
  }

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