Puppet Class: archlinux_workstation::xorg

Defined in:
manifests/xorg.pp

Overview

Install packages required for Xorg X server, as well as some additional packages.

Note - @TODO - currently this just installs the default “xf86-video-vesa” driver. Need to write a fact to find video cards and choose the correct driver, per Driver Installation, or expose this option to the user.



10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'manifests/xorg.pp', line 10

class archlinux_workstation::xorg {

  if ! defined(Class['archlinux_workstation']) {
    fail('You must include the base archlinux_workstation class before using any subclasses')
  }

  $xorg_packages = ['xorg-server',
                    'xorg-apps',
                    'xorg-xinit',
                    'mesa',
                    'xf86-video-vesa',
                    # we need xterm for 'startx'
                    'xterm']

  package {$xorg_packages:
    ensure => present,
  }

}