aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/utils/network.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems/utils/network.pp')
-rw-r--r--manifests/subsystems/utils/network.pp58
1 files changed, 58 insertions, 0 deletions
diff --git a/manifests/subsystems/utils/network.pp b/manifests/subsystems/utils/network.pp
new file mode 100644
index 0000000..5671f95
--- /dev/null
+++ b/manifests/subsystems/utils/network.pp
@@ -0,0 +1,58 @@
+class utils::network {
+ # Network
+ package { [ 'mutt', 'irssi', 'offlineimap', 'epiphany-browser',
+ 'newsbeuter', 'bitlbee', 'nicotine', 'silc',
+ 'irssi-plugin-silc', 'bogofilter', 'fetchmail', 'procmail',
+ 'msmtp', 'mairix', 'konqueror', 'bittorrent',
+ 'irssi-scripts', 'links', 'twinkle', 'bittornado',
+ 'rtorrent', 'iceweasel', 'irssi-plugin-otr', 'transmission',
+ 'openvpn', 'amule', 'pssh', 'pidgin',
+ 'pidgin-encryption', 'pidgin-openpgp', 'pidgin-otr', 'pidgin-privacy-please',
+ 'pidgin-plugin-pack', 'sslscan' ]:
+ ensure => installed,
+ }
+
+ # Custom: might not be available in the official repositories
+ if $nodo_use_custom_packages == true {
+ package { [ 'torchat' ]:
+ ensure => installed,
+ }
+ }
+
+ # Squeeze (or newer) packages
+ if $lsbdistcodename != 'lenny' {
+ package { [ 'xul-ext-monkeysphere', 'chromium-browser', 'libical-parser-perl',
+ 'maildir-utils', 'icedtea6-plugin', ]:
+ ensure => installed,
+ }
+
+ # See http://tails.boum.org/bugs/FireGPG_may_be_unsafe/
+ package { 'xul-ext-firegpg':
+ ensure => absent,
+ }
+ }
+
+ # Lenny only
+ package { [ 'mozilla-firefox-adblock' ]:
+ ensure => $lsbdistcodename ? {
+ 'lenny' => present,
+ default => absent,
+ },
+ }
+
+ # Browser alternative
+ file { "/etc/alternatives/x-www-browser":
+ ensure => "/usr/bin/iceweasel",
+ owner => root,
+ group => root,
+ require => Package['iceweasel'],
+ }
+
+ # Browser alternative: manpage
+ file { "/etc/alternatives/x-www-browser.1.gz":
+ ensure => "/usr/share/man/man1/iceweasel.1.gz",
+ owner => root,
+ group => root,
+ require => Package['iceweasel'],
+ }
+}