aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/virtual.pp
blob: 294406054bab57385326a4eef4568e26580d90a3 (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
class nodo::utils::virtual (
  $ensure = 'installed',
) {
  package { [
    # For running virtual machines
    'qemu',
    #'qemu-kvm',
    'qemu-system-x86',
    '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,
  #}
}