aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/utils/network.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-12-23 21:42:53 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-12-23 21:42:53 -0200
commita0139760cc478d3ff81aa9581245415097942d39 (patch)
tree969999ae929d7654286d6bca8f6e795efbf2b2f0 /manifests/subsystems/utils/network.pp
parent9d279e9dd9b86be0c3cbf577064fc94f3d775c1f (diff)
downloadpuppet-nodo-a0139760cc478d3ff81aa9581245415097942d39.tar.gz
puppet-nodo-a0139760cc478d3ff81aa9581245415097942d39.tar.bz2
Adding more classes for utilities
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'],
+ }
+}