aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/utils/debian.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/debian.pp
parent9d279e9dd9b86be0c3cbf577064fc94f3d775c1f (diff)
downloadpuppet-nodo-a0139760cc478d3ff81aa9581245415097942d39.tar.gz
puppet-nodo-a0139760cc478d3ff81aa9581245415097942d39.tar.bz2
Adding more classes for utilities
Diffstat (limited to 'manifests/subsystems/utils/debian.pp')
-rw-r--r--manifests/subsystems/utils/debian.pp158
1 files changed, 5 insertions, 153 deletions
diff --git a/manifests/subsystems/utils/debian.pp b/manifests/subsystems/utils/debian.pp
index 727e5c6..1401aea 100644
--- a/manifests/subsystems/utils/debian.pp
+++ b/manifests/subsystems/utils/debian.pp
@@ -1,167 +1,19 @@
class utils::personal::debian {
# System
- package { [ 'libpam-mount', 'ecryptfs-utils', 'openjdk-6-jre', 'gawk',
- 'sun-java6-jre', 'laptop-detect', 'syslinux' ]:
+ package { [ 'libpam-mount', 'ecryptfs-utils', 'gawk',
+ 'laptop-detect', 'syslinux' ]:
ensure => installed,
}
- # Multimedia
- package { [ 'alsa-tools-gui', 'mp3blaster', 'alsa-utils', 'netpbm',
- 'gqview', 'mpg123', 'audacious', 'qjackctl',
- 'gimp', 'xine-ui', 'amarok', 'wodim',
- 'genisoimage', 'dvd+rw-tools', 'inkscape', 'jhead',
- 'easytag', 'flashplugin-nonfree', 'vlc', 'audacity',
- 'opencubicplayer', 'moc', 'cmus', 'orpheus',
- 'cbrpager', 'llgal', 'darksnow', 'mplayer' ]:
- ensure => installed,
- }
-
- # Interface
- package { [ 'awesome', 'eterm', 'fluxbox', 'gdm', 'conky',
- 'xterm', 'bash-completion', 'xfonts-terminus', 'xscreensaver', 'rxvt-unicode',
- 'mc', 'gtk-theme-switch', 'gtk-smooth-themes', 'rxvt' ]:
- ensure => installed,
- }
-
- # Office
- package { [ 'wyrd', 'vim-gtk', 'gobby',
- 'sc', 'antiword', 'broffice.org',
- 'kalarm', 'texlive-latex-base', 'texlive-latex-recommended',
- 'texlive-latex-extra', 'pandoc', 'gnumeric',
- 'cups-client', 'hplip', 'cups-bsd',
- 'gnucash', 'worklog' ]:
- ensure => installed,
- }
-
- # 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,
- }
-
- # Security
- package { [ 'apg', 'gnupg-agent', 'makepasswd', 'pwgen', 'fpm2', 'encfs',
- 'signing-party', 'libnss3-tools' ]:
- ensure => installed,
- }
-
- # Development
- package { [ 'debhelper', 'gitk', 'git-gui', 'subversion', 'python-stdeb',
- 'fakeroot', 'dupload', 'autotools-dev', 'dh-make', 'doxygen',
- 'tig', 'mercurial', 'exuberant-ctags', 'reportbug', 'debian-keyring',
- 'devscripts', 'pbuilder', 'build-essential', 'pnopaste-cli', 'agave',
- 'cdbs', 'dh-buildinfo', 'quilt' ]:
- ensure => installed,
- }
-
- # Other
+ # Misc
package { [ 'fortunes-br', 'unrar', 'recode', 'figlet', 'p7zip-full', 'unison', 'funcoeszz' ]:
ensure => installed,
}
# Custom: might not be available in the official repositories
- package { [ 'kedpm', 'torchat' ]:
- ensure => installed,
- }
-
- # Lenny only
- package { [ 'mozilla-firefox-adblock' ]:
- ensure => $lsbdistcodename ? {
- 'lenny' => present,
- default => absent,
- },
- }
-
- # 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,
- }
- }
-
- # Gem packages
- package { 'capistrano':
- ensure => installed,
- provider => gem,
- require => Package['rubygems'],
- }
-
- # Gem packages
- package { 'slideshow':
- ensure => installed,
- provider => gem,
- require => Package['rubygems'],
- }
-
- if !defined(Package['ruby']) {
- package { 'ruby':
+ if $nodo_use_custom_packages == true {
+ package { [ 'kedpm', 'torchat' ]:
ensure => installed,
}
}
-
- if !defined(Package['rubygems']) {
- package { 'rubygems':
- ensure => installed,
- require => Package['ruby'],
- }
- }
-
- if !defined(Package['ruby-dev']) {
- package { 'ruby-dev':
- ensure => installed,
- require => Package['ruby'],
- }
- }
-
- if !defined(Package['libgpgme-ruby1.8']) {
- package { 'libgpgme-ruby1.8':
- ensure => installed,
- require => Package['ruby'],
- }
- }
-
- # Flash alternative
- file { "/etc/alternatives/flash-mozilla.so":
- ensure => "/usr/lib/flashplugin-nonfree/libflashplayer.so",
- owner => root,
- group => root,
- require => Package['flashplugin-nonfree'],
- }
-
- # 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'],
- }
-
- # Java alternative
- file { "/etc/alternatives/java":
- ensure => "/usr/lib/jvm/java-6-sun/jre/bin/java",
- owner => root,
- group => root,
- require => Package['sun-java6-jre'],
- }
}