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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
class nodo::utils::web::gui (
$ensure = 'installed',
) {
# Web: GUI
package { [
'firefox-esr',
'chromium',
'chromium-l10n',
'xul-ext-https-everywhere',
#'xul-ext-refcontrol',
#'xul-ext-firebug',
#'xul-ext-noscript',
#'xul-ext-pentadactyl',
#'xul-ext-stylish',
#'maildir-utils',
#'libical-parser-perl',
#'geoip-bin',
#'rig',
#'mailplate',
#'sup-mail',
#'avahi-discover',
#'mdns-scan',
#'davfs2',
#'ssvnc',
#'mairix',
#'openvpn',
#'nicotine',
#'sshfs',
]:
ensure => $ensure,
}
# Upcoming
#package { [
# 'webext-noscript',
# 'webext-treestyletab',
# 'webext-https-everywhere',
#]:
# ensure => $ensure,
#}
# Browser alternative
file { "/etc/alternatives/x-www-browser":
ensure => $ensure ? {
'present' => "/usr/bin/firefox-esr",
'installed' => "/usr/bin/firefox-esr",
default => undef,
},
owner => root,
group => root,
require => Package['firefox-esr'],
}
# Browser alternative: manpage
file { "/etc/alternatives/x-www-browser.1.gz":
ensure => $ensure ? {
'present' => "/usr/share/man/man1/firefox-esr.1.gz",
'installed' => "/usr/share/man/man1/firefox-esr.1.gz",
default => undef,
},
owner => root,
group => root,
require => Package['firefox-esr'],
}
}
|