aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/web/gui.pp
blob: c87b16d4ed7d148391e6d3385f53d37273328dd7 (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
45
class nodo::utils::web::gui {
  # Web: GUI
  package { [
    'firefox-esr',
    'chromium',
    'chromium-l10n',
    'xul-ext-https-everywhere',
    'xul-ext-refcontrol',
    #'xul-ext-pentadactyl',
    #'xul-ext-stylish',
    #'maildir-utils',
    #'libical-parser-perl',
    #'geoip-bin',
    #'rig',
    #'mailplate',
    #'sup-mail',
    #'connect-proxy',
    #'avahi-discover',
    #'mdns-scan',
    #'davfs2',
    #'ssvnc',
    #'mairix',
    #'openvpn',
    #'nicotine',
    #'sshfs',
  ]:
    ensure => installed,
  }

  # Browser alternative
  file { "/etc/alternatives/x-www-browser":
    ensure  => "/usr/bin/firefox-esr",
    owner   => root,
    group   => root,
    require => Package['firefox-esr'],
  }

  # Browser alternative: manpage
  file { "/etc/alternatives/x-www-browser.1.gz":
    ensure  => "/usr/share/man/man1/firefox-esr.1.gz",
    owner   => root,
    group   => root,
    require => Package['firefox-esr'],
  }
}