class nodo::utils::android {
- package { [ 'android-tools-adb', 'android-tools-fastboot', 'android-tools-fsutils' ]:
+ package { [
+ 'android-tools-adb',
+ 'android-tools-fastboot',
+ 'android-tools-fsutils',
+ ]:
ensure => present,
}
}
class nodo::utils::arduino(
$ensure = 'present',
) {
- package { [ 'avrdude', 'arduino', 'arduino-mk' ]:
+ package { [
+ 'avrdude',
+ 'arduino',
+ 'arduino-mk',
+ ]:
ensure => $ensure,
}
}
class nodo::utils::astronomy {
- package { 'stellarium':
+ package { [
+ 'stellarium',
+ ]:
ensure => present,
}
}
class nodo::utils::base {
- package { [ 'screen', 'less', 'bzip2', 'openssl', 'lynx', 'unzip',
- 'nmap', 'telnet', 'tree', 'whois', 'dosfstools', 'dnsutils', 'secure-delete',
- 'bc', 'lsof', 'wipe', 'vrms', 'nsca-client', 'uuid-runtime',
- 'multitail', 'bash-completion', 'zsh' ]:
+ package { [
+ 'screen',
+ 'less',
+ 'bzip2',
+ 'openssl',
+ 'lynx',
+ 'unzip',
+ 'nmap',
+ 'telnet',
+ 'tree',
+ 'whois',
+ 'dosfstools',
+ 'dnsutils',
+ 'secure-delete',
+ 'bc',
+ 'lsof',
+ 'wipe',
+ 'vrms',
+ 'nsca-client',
+ 'uuid-runtime',
+ 'multitail',
+ 'bash-completion',
+ 'zsh',
+ ]:
ensure => installed,
}
# Not using right now
- package { [ 'logcheck', 'logcheck-database', 'denyhosts', 'logwatch' ]:
+ package { [
+ 'logcheck',
+ 'logcheck-database',
+ 'denyhosts',
+ 'logwatch',
+ ]:
ensure => absent,
}
}
class nodo::utils::bitcoin {
- package { 'electrum':
+ package { [
+ 'electrum',
+ ]:
ensure => present,
}
# To be considered
- #package { 'armory':
+ #package { [
+ # 'armory',
+ #]:
# ensure => present,
#}
}
class nodo::utils::browser::hardened {
package { [
- 'torbrowser-launcher',
- 'xul-ext-requestpolicy',
- 'xul-ext-certificatepatrol',
- ]:
+ 'torbrowser-launcher',
+ 'xul-ext-requestpolicy',
+ 'xul-ext-certificatepatrol',
+ ]:
ensure => present,
}
}
# Common utilities for desktop
class nodo::utils::desktop {
- package { 'cups':
+ package { [
+ 'cups',
+ ]:
ensure => installed,
}
}
class nodo::utils::desktop::cinnamon {
- package { 'cinnamon':
+ package { [
+ 'cinnamon',
+ ]:
ensure => installed,
}
}
class nodo::utils::desktop::gnome {
- package { [ 'gnome', 'gnome-backgrounds' ]:
+ package { [
+ 'gnome',
+ 'gnome-backgrounds',
+ ]:
ensure => installed,
}
}
class nodo::utils::desktop::vnc {
- package { 'tightvncserver':
+ package { [
+ 'tightvncserver',
+ ]:
ensure => present,
}
}
class nodo::utils::development::debian {
- package { [ 'debhelper', 'python-stdeb', 'fakeroot', 'dupload', 'autotools-dev', 'dh-make',
- 'reportbug', 'debian-keyring', 'devscripts', 'pbuilder', 'build-essential', 'dh-buildinfo',
- 'quilt', 'dpatch', 'dput', 'debian-goodies', 'gem2deb', 'git-buildpackage',
- 'cdbs', 'dh-autoreconf', 'apt-rdepends', 'po4a', 'vmdebootstrap', 'apt-show-versions',
- 'apt-show-source', 'apt-listchanges', 'apt-forktracer' ]:
+ package { [
+ 'debhelper',
+ 'python-stdeb',
+ 'fakeroot',
+ 'dupload',
+ 'autotools-dev',
+ 'dh-make',
+ 'reportbug',
+ 'debian-keyring',
+ 'devscripts',
+ 'pbuilder',
+ 'build-essential',
+ 'dh-buildinfo',
+ 'quilt',
+ 'dpatch',
+ 'dput',
+ 'debian-goodies',
+ 'gem2deb',
+ 'git-buildpackage',
+ 'cdbs',
+ 'dh-autoreconf',
+ 'apt-rdepends',
+ 'po4a',
+ 'vmdebootstrap',
+ 'apt-show-versions',
+ 'apt-show-source',
+ 'apt-listchanges',
+ 'apt-forktracer',
+ ]:
ensure => installed,
}
}
class nodo::utils::development::gis {
- package { 'qgis':
+ package { [
+ 'qgis'
+ ]:
ensure => present,
}
}
class nodo::utils::development::git {
- package { [ 'gitk', 'git-gui', 'tig', 'git-cola', 'legit',
- 'git-extras', 'git-flow', 'topgit', 'git-remote-gcrypt', ]:
+ package { [
+ 'gitk',
+ 'git-gui',
+ 'tig',
+ 'git-cola',
+ 'legit',
+ 'git-extras',
+ 'git-flow',
+ 'topgit',
+ 'git-remote-gcrypt',
+ ]:
ensure => installed,
}
# Newer packages
- package { 'git-crypt':
+ package { [
+ 'git-crypt',
+ ]:
ensure => $::lsbdistcodename ? {
'stretch' => present,
'sid' => present,
}
# Wheezy only
- package { 'git-stuff':
+ package { [
+ 'git-stuff',
+ ]:
ensure => $::lsbdistcodename ? {
'wheezy' => present,
default => absent,
class nodo::utils::development::ide {
# In use
package { [
- 'mr',
- 'hexedit',
- 'ack-grep',
- 'markdown',
- 'python-sphinx',
- 'pelican',
- ]:
+ 'mr',
+ 'hexedit',
+ 'ack-grep',
+ 'markdown',
+ 'python-sphinx',
+ 'pelican',
+ ]:
ensure => installed,
}
# Not in use
package { [
- 'ttyrec',
- 'bugs-everywhere',
- 'silversearcher-ag',
- 'ticgit',
- 'ticgitweb',
- 'ditz',
- 'pnopaste-cli',
- 'exuberant-ctags',
- 'doxygen',
- 'agave',
- ]:
+ 'ttyrec',
+ 'bugs-everywhere',
+ 'silversearcher-ag',
+ 'ticgit',
+ 'ticgitweb',
+ 'ditz',
+ 'pnopaste-cli',
+ 'exuberant-ctags',
+ 'doxygen',
+ 'agave',
+ ]:
ensure => absent,
}
}
class nodo::utils::development::mediawiki {
- package { 'git-mediawiki':
+ package { [
+ 'git-mediawiki',
+ ]:
ensure => $::lsbdistcodename ? {
'wheezy' => absent,
default => present,
class nodo::utils::development::puppet {
- package { 'puppet-lint':
+ package { [
+ 'puppet-lint',
+ ]:
ensure => installed,
}
- package { 'ruby-hiera-puppet':
+ package { [
+ 'ruby-hiera-puppet',
+ ]:
ensure => $::lsbdistcodename ? {
'wheezy' => present,
default => absent,
class nodo::utils::development::python {
- package { [ 'python-setuptools', 'python-virtualenv', 'python-yaml', 'python-cheetah', 'python-unidecode' ]:
+ package { [
+ 'python-setuptools',
+ 'python-virtualenv',
+ 'python-yaml',
+ 'python-cheetah',
+ 'python-unidecode',
+ ]:
ensure => installed,
}
}
class nodo::utils::development::reverse {
- package { 'binwalk':
+ package { [
+ 'binwalk',
+ ]:
ensure => present,
}
}
class nodo::utils::development::system {
- package { [ 'debirf', 'xorriso', 'kpartx', 'openocd', 'live-build' ]:
+ package { [
+ 'debirf',
+ 'xorriso',
+ 'kpartx',
+ 'openocd',
+ 'live-build',
+ ]:
ensure => installed,
}
- package { 'unetbootin':
+ package { [
+ 'unetbootin',
+ ]:
ensure => $::lsbdistcodename ? {
'wheezy' => present,
default => absent,
class nodo::utils::development::toolchain {
- package { [ 'emdebian-archive-keyring', 'xapt', 'pdebuild-cross', 'scratchbox2',
- 'qemu-user-static', 'multistrap', 'fakechroot' ]:
+ package { [
+ 'emdebian-archive-keyring',
+ 'xapt',
+ 'pdebuild-cross',
+ 'scratchbox2',
+ 'qemu-user-static',
+ 'multistrap',
+ 'fakechroot',
+ ]:
ensure => installed,
}
}
# },
#}
- package { [ 'linux-libc-dev-armel-cross', 'libc6-armel-cross', 'libc6-dev-armel-cross',
- 'binutils-arm-linux-gnueabi', 'gcc-4.4-arm-linux-gnueabi', 'g++-4.4-arm-linux-gnueabi',
- 'gdb-arm-linux-gnueabi' ]:
+ package { [
+ 'linux-libc-dev-armel-cross',
+ 'libc6-armel-cross',
+ 'libc6-dev-armel-cross',
+ 'binutils-arm-linux-gnueabi',
+ 'gcc-4.4-arm-linux-gnueabi',
+ 'g++-4.4-arm-linux-gnueabi',
+ 'gdb-arm-linux-gnueabi',
+ ]:
ensure => $ensure,
require => Apt::Sources_list['emdebian.list'],
}
class nodo::utils::development::vcs {
- package { [ 'subversion', 'mercurial', 'bzr']:
+ package { [
+ 'subversion',
+ 'mercurial',
+ 'bzr',
+ ]:
ensure => installed,
}
}
class nodo::utils::development::virtual {
- package { 'vagrant':
+ package { [
+ 'vagrant',
+ ]:
ensure => $::lsbdistcodename ? {
'squeeze' => absent,
default => latest,
}
}
- package { [ 'virtualbox-guest-additions-iso', 'qemu', 'qemu-kvm' ]:
+ package { [
+ 'virtualbox-guest-additions-iso',
+ 'qemu',
+ 'qemu-kvm',
+ ]:
ensure => latest,
}
# TODO: wait for jessie release
- #package { 'docker.io':
+ #package { [
+ # 'docker.io',
+ #]:
# ensure => installed,
#}
# TODO: wait for stretch release
- #package { 'packer':
+ #package { [
+ # 'packer',
+ #]:
# ensure => installed,
#}
# TODO: We're not managing this package as we're favouring the
# wheezy-backports virtualbox which doesn't needs it.
- #package { 'virtualbox-fuse':
+ #package { [
+ # 'virtualbox-fuse',
+ #]:
# ensure => present,
#}
}
class nodo::utils::development::web {
- package { [ 'apache2-utils', 'yui-compressor' ]:
+ package { [
+ 'apache2-utils',
+ 'yui-compressor',
+ ]:
ensure => installed,
}
}
class nodo::utils::dns {
- package { 'dnstop':
+ package { [
+ 'dnstop',
+ ]:
ensure => installed,
}
}
class nodo::utils::firmware {
- package { 'firmware-linux':
+ package { [
+ 'firmware-linux',
+ ]:
ensure => installed,
}
}
# Wireless support
class nodo::utils::firmware::iwlwifi {
- package { 'firmware-iwlwifi':
+ package { [
+ 'firmware-iwlwifi',
+ ]:
ensure => present,
}
}
class nodo::utils::firmware::ralink {
- package { 'firmware-ralink':
+ package { [
+ 'firmware-ralink',
+ ]:
ensure => installed,
}
}
class nodo::utils::firmware::realtek {
- package { 'firmware-realtek':
+ package { [
+ 'firmware-realtek',
+ ]:
ensure => installed,
}
}
class nodo::utils::firmware::tools {
- package { [ 'flashrom', 'nvramtool', 'nvram-wakeup' ]:
+ package { [
+ 'flashrom',
+ 'nvramtool',
+ 'nvram-wakeup',
+ ]:
ensure => installed,
}
}
class nodo::utils::grub {
- package { 'grub2':
+ package { [
+ 'grub2',
+ ]:
ensure => installed,
}
}
class nodo::utils::hamradio {
- package { 'aldo':
+ package { [
+ 'aldo',
+ ]:
ensure => present,
}
}
class nodo::utils::http {
- package { [ 'curl' ]:
+ package { [
+ 'curl',
+ ]:
ensure => present,
}
}
class nodo::utils::interface inherits nodo::utils::interface::console {
# Interface
- package { [ 'awesome', 'eterm', 'weather-util', 'gnome-terminal', 'conky',
- 'xterm', 'xscreensaver', 'thunar', 'x11-apps', 'conky-all',
- 'gtk-theme-switch', 'gtk-smooth-themes', 'rxvt', 'lxappearance', 'xdotool',
- 'xtitle', 'xclip', 'pcmanfm', 'awesome-extra', 'numlockx',
- 'metar', 'wmctrl', 'xsel', 'xinput', 'i3' ]:
+ package { [
+ 'awesome',
+ 'eterm',
+ 'weather-util',
+ 'gnome-terminal',
+ 'conky',
+ 'xterm',
+ 'xscreensaver',
+ 'thunar',
+ 'x11-apps',
+ 'conky-all',
+ 'gtk-theme-switch',
+ 'gtk-smooth-themes',
+ 'rxvt',
+ 'lxappearance',
+ 'xdotool',
+ 'xtitle',
+ 'xclip',
+ 'pcmanfm',
+ 'awesome-extra',
+ 'numlockx',
+ 'metar',
+ 'wmctrl',
+ 'xsel',
+ 'xinput',
+ 'i3',
+ ]:
ensure => installed,
}
# Fonts
- package { [ 'xfonts-terminus', 'ttf-bitstream-vera', 'fonts-inconsolata' ]:
+ package { [
+ 'xfonts-terminus',
+ 'ttf-bitstream-vera',
+ 'fonts-inconsolata',
+ ]:
ensure => installed,
}
- package { 'rxvt-unicode':
+ package { [
+ 'rxvt-unicode',
+ ]:
ensure => present,
# We need a workaround for this:
# https://bbs.archlinux.org/viewtopic.php?id=50647
}
}
- package { "terminology":
+ package { [
+ 'terminology',
+ ]:
ensure => $::lsbdistcodename ? {
'wheezy' => absent,
default => present,
}
# Old stuff
- package { [ 'conkyforecast', 'fluxbox' ]:
+ package { [
+ 'conkyforecast',
+ 'fluxbox',
+ ]:
ensure => absent,
}
# To be considered
- #package { 'needrestart-session':
+ #package {
+ # 'needrestart-session',
+ #]:
# ensure => present,
#}
}
class nodo::utils::interface::console {
- package { [ 'mc', 'tmux', 'moreutils', 'powerline', 'fonts-powerline', 'ranger' ]:
+ package { [
+ 'mc',
+ 'tmux',
+ 'moreutils',
+ 'powerline',
+ 'fonts-powerline',
+ 'ranger',
+ ]:
ensure => installed,
}
}
class nodo::utils::java {
# Java
- package { [ 'sun-java6-jre' ]:
+ package { [
+ 'sun-java6-jre',
+ ]:
ensure => absent,
}
- package { [ 'default-jre', 'openjdk-7-jre-headless' ]:
+ package { [
+ 'default-jre',
+ 'openjdk-7-jre-headless',
+ ]:
ensure => present,
}
class nodo::utils::laptop::debian {
include nodo::utils::storage::layer
- package { [ 'cpufrequtils', 'module-assistant', 'wireless-tools',
- 'wpasupplicant', 'ekiga', 'mumble',
- 'arp-scan', 'usb-modeswitch',
- 'iw', 'wvdial', 'wavemon',
- 'btscanner', 'laptop-mode-tools', 'acpi-support',
- 'tftp', 'sharutils', 'wireshark',
- 'weplab', 'wpagui',
- 'gnokii', 'sslstrip', 'uswsusp',
- 'tcpdump', 'tshark' ]:
+ # Power management
+ package { [
+ 'cpufrequtils',
+ 'acpi-support',
+ 'laptop-mode-tools',
+ ]:
ensure => installed,
}
+
+ # Wireless
+ package { [
+ 'wireless-tools',
+ 'wpasupplicant',
+ ]:
+ ensure => installed,
+ }
+
+ # Network layer
+ #package { [
+ # 'arp-scan',
+ # 'wavemon',
+ # 'wvdial',
+ # 'iw',
+ # 'btscanner',
+ # 'weplab',
+ # 'wireshark',
+ # 'tftp',
+ # 'tcpdump',
+ # 'tshark',
+ # 'wpagui',
+ # 'sslstrip',
+ #]:
+ # ensure => installed,
+ #}
+
+ # Misc
+ #package { [
+ # 'module-assistant',
+ # 'ekiga',
+ # 'mumble',
+ # 'usb-modeswitch',
+ # 'gnokii',
+ # 'sharutils',
+ #]:
+ # ensure => installed,
+ #}
}
class nodo::utils::laptop::thinkpad::battery(
$implementation = 'acpi-call',
) {
- package { 'tlp':
+ package { [
+ 'tlp',
+ ]:
ensure => present,
}
- package { "${implementation}-dkms":
+ package { [
+ "${implementation}-dkms",
+ ]:
ensure => present,
}
}
# Microcode
# See https://wiki.archlinux.org/index.php/Microcode
# http://en.gentoo-wiki.com/wiki/Intel_Microcode
- package { 'intel-microcode':
+ package { [
+ 'intel-microcode',
+ ]:
ensure => present,
}
}
# Multimedia utilities
class nodo::utils::multimedia inherits nodo::utils::multimedia::minimal {
# Multimedia
- package { [ 'alsa-tools-gui', 'mp3blaster', 'netpbm',
- 'audacious', 'qjackctl',
- 'gimp', 'xine-ui', 'v4l-utils', 'inkscape',
- 'easytag', 'gstreamer-tools', 'vlc', 'audacity',
- 'opencubicplayer', 'libasound2-plugins', 'lame', 'geeqie',
- 'cbrpager', 'llgal', 'darksnow', 'pavucontrol',
- 'picard', 'ffmpeg2theora', 'oggfwd', 'jhead',
- 'gxine', 'totem', 'faad', 'gmtp',
- 'gphotofs', 'jmtpfs' ]:
+ package { [
+ 'alsa-tools-gui',
+ 'mp3blaster',
+ 'netpbm',
+ 'audacious',
+ 'qjackctl',
+ 'gimp',
+ 'xine-ui',
+ 'v4l-utils',
+ 'inkscape',
+ 'easytag',
+ 'gstreamer-tools',
+ 'vlc',
+ 'audacity',
+ 'opencubicplayer',
+ 'libasound2-plugins',
+ 'lame',
+ 'geeqie',
+ 'cbrpager',
+ 'llgal',
+ 'darksnow',
+ 'pavucontrol',
+ 'picard',
+ 'ffmpeg2theora',
+ 'oggfwd',
+ 'jhead',
+ 'gxine',
+ 'totem',
+ 'faad',
+ 'gmtp',
+ 'gphotofs',
+ 'jmtpfs',
+ ]:
ensure => installed,
}
# Old stuff
- package { [ 'amarok', 'moc', 'cmus' ]:
+ package { [
+ 'amarok',
+ 'moc',
+ 'cmus',
+ ]:
ensure => purged,
}
# Squeeze only
- package { [ 'tucan', 'orpheus' ]:
+ package { [
+ 'tucan',
+ 'orpheus',
+ ]:
ensure => $::lsbdistcodename ? {
'squeeze' => installed,
default => purged,
}
# Wheezy only
- package { [ 'landell', 'gqview', 'mencoder' ]:
+ package { [
+ 'landell',
+ 'gqview',
+ 'mencoder',
+ ]:
ensure => $::lsbdistcodename ? {
'squeeze' => absent,
'wheezy' => installed,
class nodo::utils::multimedia::cdplayer {
# CD writers and extractors
- package { [ 'mcdp', 'cdtool', 'cd-discid' ]:
+ package { [
+ 'mcdp',
+ 'cdtool',
+ 'cd-discid',
+ ]:
ensure => installed,
}
}
class nodo::utils::multimedia::downloaders {
# Jessie onwards
- package { 'youtube-dl':
+ package { [
+ 'youtube-dl',
+ ]:
ensure => $::lsbdistcodename ? {
'wheezy' => absent,
default => present,
class nodo::utils::multimedia::extractors {
- package { [ 'rar', 'unrar', 'zip' ]:
+ package { [
+ 'rar',
+ 'unrar',
+ 'zip',
+ ]:
ensure => present,
}
}
class nodo::utils::multimedia::gnash {
- package { 'flashplugin-nonfree':
+ package { [
+ 'flashplugin-nonfree',
+ ]:
ensure => purged,
}
- package { 'browser-plugin-gnash':
+ package { [
+ 'browser-plugin-gnash',
+ ]:
ensure => present,
}
class nodo::utils::multimedia::mediacenter {
- package { [ 'xbmc', 'upnp-inspector', 'gupnp-tools', 'djmount' ]:
+ package { [
+ 'xbmc',
+ 'upnp-inspector',
+ 'gupnp-tools',
+ 'djmount',
+ ]:
ensure => present,
}
}
class nodo::utils::multimedia::minimal {
- package { [ 'alsa-utils', 'mpg123', 'mediainfo' ]:
+ package { [
+ 'alsa-utils',
+ 'mpg123',
+ 'mediainfo',
+ ]:
ensure => installed,
}
- package { 'mplayer':
+ package { [
+ 'mplayer',
+ ]:
ensure => present,
name => $::lsbdistcodename ? {
'wheezy' => 'mplayer',
class nodo::utils::multimedia::ripper {
# CD writers and extractors
- package { [ 'ripit', 'asunder', 'wodim', 'genisoimage', 'dvd+rw-tools', 'cdrskin', 'cd5', 'eject', 'cdrdao' ]:
+ package { [
+ 'ripit',
+ 'asunder',
+ 'wodim',
+ 'genisoimage',
+ 'dvd+rw-tools',
+ 'cdrskin',
+ 'cd5',
+ 'eject',
+ 'cdrdao',
+ ]:
ensure => installed,
}
}
class nodo::utils::multimedia::scanner {
- package { 'xsane':
+ package { [
+ 'xsane',
+ ]:
ensure => present,
}
}
class nodo::utils::multimedia::shockwave {
# See also https://github.com/i-rinat/freshplayerplugin
- package { 'flashplugin-nonfree':
+ package { [
+ 'flashplugin-nonfree',
+ ]:
ensure => installed ,
}
class nodo::utils::multimedia::studio {
- package { [ 'ardour', 'hydrogen', 'mixxx' ]:
+ package { [
+ 'ardour',
+ 'hydrogen',
+ 'mixxx',
+ ]:
ensure => installed,
}
# Instruments
- package { [ 'amsynth', 'guitarix', 'rakarrack', 'tuxguitar-jack' ]:
+ package { [
+ 'amsynth',
+ 'guitarix',
+ 'rakarrack',
+ 'tuxguitar-jack',
+ ]:
ensure => installed,
}
# LADSPA plugins
- package { [ 'fil-plugins', 'swh-plugins', 'tap-plugins', 'invada-studio-plugins-ladspa' ]:
+ package { [
+ 'fil-plugins',
+ 'swh-plugins',
+ 'tap-plugins',
+ 'invada-studio-plugins-ladspa',
+ ]:
ensure => installed,
}
}
class nodo::utils::network inherits nodo::utils::network::minimal {
# Network
- package { [ 'mutt', 'offlineimap',
- 'newsbeuter', 'nicotine', 'sshfs',
- 'bogofilter', 'fetchmail', 'procmail',
- 'msmtp', 'mairix', 'notmuch-mutt',
- 'links', 'elinks', 'iceweasel',
- 'openvpn', 'pssh', 'mutt-patched',
- 'pidgin', 'pidgin-encryption', 'pidgin-openpgp',
- 'pidgin-otr', 'pidgin-privacy-please', 'pidgin-plugin-pack',
- 'sslscan', 'muttprofile', 'connect-proxy',
- 'avahi-discover', 'mdns-scan', 'davfs2',
- 'surfraw', 'w3m', 'mailplate',
- 'geoip-bin', 'ssvnc',
- 'rig', 'sup-mail' ]:
+ package { [
+ 'mutt',
+ 'offlineimap',
+ 'newsbeuter',
+ 'nicotine',
+ 'sshfs',
+ 'bogofilter',
+ 'fetchmail',
+ 'procmail',
+ 'msmtp',
+ 'mairix',
+ 'notmuch-mutt',
+ 'links',
+ 'elinks',
+ 'iceweasel',
+ 'openvpn',
+ 'pssh',
+ 'mutt-patched',
+ 'pidgin',
+ 'pidgin-encryption',
+ 'pidgin-openpgp',
+ 'pidgin-otr',
+ 'pidgin-privacy-please',
+ 'pidgin-plugin-pack',
+ 'sslscan',
+ 'muttprofile',
+ 'connect-proxy',
+ 'avahi-discover',
+ 'mdns-scan',
+ 'davfs2',
+ 'surfraw',
+ 'w3m',
+ 'mailplate',
+ 'geoip-bin',
+ 'ssvnc',
+ 'rig',
+ 'sup-mail',
+ ]:
ensure => installed,
}
}
# Using the addon directly
- package { 'iceweasel-vimperator':
+ package { [
+ 'iceweasel-vimperator',
+ ]:
ensure => absent,
}
# Old packages
# About firegpg, see http://tails.boum.org/bugs/FireGPG_may_be_unsafe/
# About adblock plus, see http://www.theverge.com/2015/2/2/7963577/google-ads-get-through-adblock
- package { [ 'silc', 'twinkle', 'konqueror', 'transmission', 'amule', 'epiphany-browser',
- 'bittorrent', 'bittornado', 'xul-ext-firegpg', 'xul-ext-adblock-plus' ]:
+ package { [
+ 'silc',
+ 'twinkle',
+ 'konqueror',
+ 'transmission',
+ 'amule',
+ 'epiphany-browser',
+ 'bittorrent',
+ 'bittornado',
+ 'xul-ext-firegpg',
+ 'xul-ext-adblock-plus',
+ ]:
ensure => absent,
}
# Squeeze (or newer) packages
if $::lsbdistcodename != 'lenny' {
- package { [ 'xul-ext-monkeysphere', 'libical-parser-perl',
- 'maildir-utils', 'xul-ext-noscript',
- 'xul-ext-firebug', 'msva-perl', 'chromium-l10n' ]:
+ package { [
+ 'xul-ext-monkeysphere',
+ 'libical-parser-perl',
+ 'maildir-utils',
+ 'xul-ext-noscript',
+ 'xul-ext-firebug',
+ 'msva-perl',
+ 'chromium-l10n',
+ ]:
ensure => installed,
}
}
# Not using right now
- package { [ 'xul-ext-torbutton', 'vidalia', 'xul-ext-perspectives', 'xul-ext-greasemonkey', 'torchat' ]:
+ package { [
+ 'xul-ext-torbutton',
+ 'vidalia',
+ 'xul-ext-perspectives',
+ 'xul-ext-greasemonkey',
+ 'torchat',
+ ]:
ensure => absent,
}
- package { 'chromium':
+ package { [
+ 'chromium',
+ ]:
ensure => present,
name => $::lsbdistcodename ? {
'wheezy' => 'chromium-browser',
# Wheezy (or newer) packages
if $::lsbdistcodename != 'squeeze' {
- package { [ 'xul-ext-https-everywhere', 'xul-ext-refcontrol' ]:
+ package { [
+ 'xul-ext-https-everywhere',
+ 'xul-ext-refcontrol',
+ ]:
ensure => installed,
}
# See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686087
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705999
- package { [ 'xul-ext-cookie-monster', 'xul-ext-quickproxy' ]:
+ package { [
+ 'xul-ext-cookie-monster',
+ 'xul-ext-quickproxy',
+ ]:
ensure => absent,
}
}
# Jessie ownwards
- #package { [ 'xul-ext-pentadactyl', 'xul-ext-stylish' ]:
+ #package { [
+ # 'xul-ext-pentadactyl',
+ # 'xul-ext-stylish',
+ #]:
# ensure => installed,
#}
# Wheezy only
- package { [ 'gftp', 'icedtea6-plugin', 'luakit' ]:
+ package { [
+ 'gftp',
+ 'icedtea6-plugin',
+ 'luakit',
+ ]:
ensure => $::lsbdistcodename ? {
'lenny' => present,
default => absent,
}
# Lenny only
- package { [ 'mozilla-firefox-adblock' ]:
+ package { [
+ 'mozilla-firefox-adblock',
+ ]:
ensure => $::lsbdistcodename ? {
'lenny' => present,
default => absent,
class nodo::utils::network::analyzer {
- package { [ 'tshark', 'arping', 'fping', 'oping', 'tcptraceroute', 'tcpstat', 'iperf' ]:
+ package { [
+ 'tshark',
+ 'arping',
+ 'fping',
+ 'oping',
+ 'tcptraceroute',
+ 'tcpstat',
+ 'iperf',
+ ]:
ensure => installed,
}
- package { 'zmap':
+ package { [
+ 'zmap',
+ ]:
ensure => $::lsbdistcodename ? {
'squeeze' => absent,
default => present,
}
# https://www.linode.com/docs/networking/diagnosing-network-issues-with-mtr
- package { 'mtr':
+ package { [
+ 'mtr',
+ ]:
ensure => present,
}
# Not in use
- package { [ 'heartbleeder', 'psad' ]:
+ package { [
+ 'heartbleeder',
+ 'psad',
+ ]:
ensure => absent,
}
}
class nodo::utils::network::irssi {
- package { [ 'irssi', 'bitlbee', 'irssi-scripts' ]:
+ package { [
+ 'irssi',
+ 'bitlbee',
+ 'irssi-scripts',
+ ]:
ensure => installed,
}
- package { [ 'ttytter', 'libterm-readkey-perl' ]:
+ package { [
+ 'ttytter',
+ 'libterm-readkey-perl',
+ ]:
ensure => present,
}
- package { 'irssi-plugin-otr':
+ package { [
+ 'irssi-plugin-otr',
+ ]:
ensure => installed,
}
# These are needed by the cap_sasl.pl irssi plugin
- package { [ 'libcrypt-blowfish-perl', 'libcrypt-dh-perl', 'libcrypt-openssl-bignum-perl' ]:
+ package { [
+ 'libcrypt-blowfish-perl',
+ 'libcrypt-dh-perl',
+ 'libcrypt-openssl-bignum-perl',
+ ]:
ensure => installed,
}
# Not on wheezy
- package { 'irssi-plugin-silc':
+ package { [
+ 'irssi-plugin-silc',
+ ]:
ensure => $::lsbdistcodename ? {
'wheezy' => absent,
'jessie' => absent,
include nodo::utils::network::irssi
include nodo::utils::network::torrent
- package { [ 'unison', 'httrack', 'zsync' ]:
+ package { [
+ 'unison',
+ 'httrack',
+ 'zsync',
+ ]:
ensure => installed,
}
# For backwards compatibility
# See addversionno unison config parameter
- package { 'unison2.32.52':
+ package { [
+ 'unison2.32.52',
+ ]:
ensure => $::lsbdistcodename ? {
'wheezy' => present,
default => absent,
class nodo::utils::network::nfs {
- package { 'nfs-common':
+ package { [
+ 'nfs-common',
+ ]:
ensure => installed,
}
}
class nodo::utils::network::pppoe {
- package { [ 'ppp', 'pppoe', 'pppoeconf' ]:
+ package { [
+ 'ppp',
+ 'pppoe',
+ 'pppoeconf',
+ ]:
ensure => present,
}
}
class nodo::utils::network::pptp {
- package { 'pptp-linux':
+ package { [
+ 'pptp-linux',
+ ]:
ensure => installed,
}
}
class nodo::utils::network::samba {
- package { [ 'smbclient', 'cifs-utils', 'nbtscan' ]:
+ package { [
+ 'smbclient',
+ 'cifs-utils',
+ 'nbtscan',
+ ]:
ensure => installed,
}
}
class nodo::utils::network::snort {
- package { 'snort':
+ package { [
+ 'snort',
+ ]:
ensure => present,
}
}
class nodo::utils::network::torrent {
- package { [ 'rtorrent' ]:
+ package { [
+ 'rtorrent',
+ ]:
ensure => installed,
}
}
class nodo::utils::network::wicd {
- package { [ 'wicd', 'wicd-curses', 'wicd-gtk' ]:
+ package { [
+ 'wicd',
+ 'wicd-curses',
+ 'wicd-gtk',
+ ]:
ensure => installed,
}
}
class nodo::utils::office {
# Office
- package { [ 'vim-gtk', 'gobby', 'libreoffice',
- 'sc', 'antiword', 'unrtf',
- 'pandoc', 'wyrd',
- 'gnucash', 'worklog', 'pdftk',
- 'fbreader', 'pdfgrep',
- 'mat', 'evince',
- 'aewan', 'autocutsel',
- 'parcellite' ]:
+ package { [
+ 'vim-gtk',
+ 'gobby',
+ 'libreoffice',
+ 'sc',
+ 'antiword',
+ 'unrtf',
+ 'pandoc',
+ 'wyrd',
+ 'gnucash',
+ 'worklog',
+ 'pdftk',
+ 'fbreader',
+ 'pdfgrep',
+ 'mat',
+ 'evince',
+ 'aewan',
+ 'autocutsel',
+ 'parcellite',
+ ]:
ensure => installed,
}
# Finance
- package { [ 'ledger', 'clipf', 'misery' ]:
+ package { [
+ 'ledger',
+ 'clipf',
+ 'misery',
+ ]:
ensure => present,
}
# LaTeX
- package { [ 'texlive-latex-base', 'texlive-latex-recommended', 'texlive-latex-extra', 'texlive-fonts-extra', 'vim-latexsuite', 'pdfjam' ]:
+ package { [
+ 'texlive-latex-base',
+ 'texlive-latex-recommended',
+ 'texlive-latex-extra',
+ 'texlive-fonts-extra',
+ 'vim-latexsuite',
+ 'pdfjam',
+ ]:
ensure => present,
}
# Not in use
- package { [ 'kalarm', 'gnumeric', 'jekyll', 'taskwarrior', 'vit', 'hledger', 'dia', 'calibre' ]:
+ package { [
+ 'kalarm',
+ 'gnumeric',
+ 'jekyll',
+ 'taskwarrior',
+ 'vit',
+ 'hledger',
+ 'dia',
+ 'calibre',
+ ]:
ensure => absent,
}
}
class nodo::utils::office::hp {
- package { 'hplip-gui':
+ package { [
+ 'hplip-gui',
+ ]:
ensure => present,
}
}
include nodo::utils::storage::crypto
# System
- package { [ 'libpam-mount', 'gawk',
- 'laptop-detect', 'mtp-tools' ]:
+ package { [
+ 'libpam-mount',
+ 'gawk',
+ 'laptop-detect',
+ 'mtp-tools',
+ ]:
ensure => installed,
}
# Misc
- package { [ 'fortunes-br', 'recode', 'p7zip-full', 'funcoeszz', 'detox' ]:
+ package { [
+ 'fortunes-br',
+ 'recode',
+ 'p7zip-full',
+ 'funcoeszz',
+ 'detox',
+ ]:
ensure => installed,
}
# Console window managers
- #package { [ 'screenie', 'iselect', 'byobu' ]:
+ #package { [
+ # 'screenie',
+ # 'iselect',
+ # 'byobu',
+ # ]:
# ensure => installed,
#}
# Console interfaces
- #package { [ 'gpm', 'fbterm', 'fbiterm' ]:
+ #package { [
+ # 'gpm',
+ # 'fbterm',
+ # 'fbiterm',
+ #]:
# ensure => installed,
#}
# Non-free, old, buggy or absent in newer releases
- package { [ 'mtpfs', 'unrar', 'figlet' ]:
+ package { [
+ 'mtpfs',
+ 'unrar',
+ 'figlet',
+ ]:
ensure => purged,
}
}
# Common utilities for physical
class nodo::utils::physical {
- package { [ 'nload', 'acpid', 'slurm', 'ethtool', 'parted', 'iftop',
- 'iptraf', 'htop', 'sdparm', 'iotop', 'sysstat', 'saidar',
- 'lshw', 'sg3-utils', 'nmon', 'atop', 'dcfldd', 'gdisk',
- 'powertop', 'bwm-ng' ]:
+ package { [
+ 'nload',
+ 'acpid',
+ 'slurm',
+ 'ethtool',
+ 'parted',
+ 'iftop',
+ 'iptraf',
+ 'htop',
+ 'sdparm',
+ 'iotop',
+ 'sysstat',
+ 'saidar',
+ 'lshw',
+ 'sg3-utils',
+ 'nmon',
+ 'atop',
+ 'dcfldd',
+ 'gdisk',
+ 'powertop',
+ 'bwm-ng',
+ ]:
ensure => installed,
}
- package { 'acpi':
+ package { [
+ 'acpi',
+ ]:
ensure => $::architecture ? {
'armv5tel' => absent,
'armv6l' => absent,
# Testers / health check
#
- #package { 'memtester':
+ #package { [
+ # 'memtester',
+ #]:
# ensure => present,
#}
- package { 'memtest86+':
+ package { [
+ 'memtest86+',
+ ]:
ensure => $::architecture ? {
'amd64' => present,
default => absent,
# Common utilities for plug computers
class nodo::utils::plug {
- package { [ 'mtd-utils', 'cryptsetup', 'u-boot', 'smartmontools', 'u-boot-tools' ]:
+ package { [
+ 'mtd-utils',
+ 'cryptsetup',
+ 'u-boot',
+ 'smartmontools',
+ 'u-boot-tools',
+ ]:
ensure => installed,
}
}
class nodo::utils::printer {
- package { [ 'cups-client', 'hplip', 'cups-bsd', 'printer-driver-hpcups', 'hpijs-ppds' ]:
+ package { [
+ 'cups-client',
+ 'hplip',
+ 'cups-bsd',
+ 'printer-driver-hpcups',
+ 'hpijs-ppds',
+ ]:
ensure => present,
}
}
class nodo::utils::raspberrypi {
- package { 'usbutils':
+ package { [
+ 'usbutils',
+ ]:
ensure => installed,
}
}
+++ /dev/null
-class nodo::utils::ruby {
- # Gem packages
- package { 'capistrano':
- ensure => absent,
- provider => $::lsbdistcodename ? {
- 'squeeze' => gem,
- default => apt,
- },
- require => Package['rubygems'],
- }
-
- # Gem packages
- package { 'slideshow':
- ensure => absent,
- provider => gem,
- require => Package['rubygems'],
- }
-
- if !defined(Package['ruby']) {
- package { 'ruby':
- ensure => installed,
- }
- }
-
- if !defined(Package['rubygems']) {
- package { 'rubygems':
- ensure => absent,
- require => Package['ruby'],
- }
- }
-
- if !defined(Package['ruby-dev']) {
- package { 'ruby-dev':
- ensure => absent,
- require => Package['ruby'],
- }
- }
-
- if !defined(Package['libgpgme-ruby1.8']) {
- package { 'libgpgme-ruby1.8':
- ensure => absent,
- require => Package['ruby'],
- }
- }
-}
class nodo::utils::sdr(
$ensure = 'present',
) {
- package { [ 'rtl-srd', 'airspy', 'gr-osmosdr', 'gnuradio' ]:
+ package { [
+ 'rtl-srd',
+ 'airspy',
+ 'gr-osmosdr',
+ 'gnuradio',
+ ]:
ensure => $ensure,
}
}
class nodo::utils::security inherits nodo::utils::security::base {
# Security
- package { [ 'apg', 'gnupg-agent', 'makepasswd', 'pwgen', 'fpm2', 'encfs',
- 'signing-party', 'libnss3-tools', 'ssss', 'libgfshare-bin', 'pass',
- 'revelation', 'onetime', 'gnupg2', 'monkeysign', 'gnutls-bin' ]:
+ package { [
+ 'apg',
+ 'gnupg-agent',
+ 'makepasswd',
+ 'pwgen',
+ 'fpm2',
+ 'encfs',
+ 'signing-party',
+ 'libnss3-tools',
+ 'ssss',
+ 'libgfshare-bin',
+ 'pass',
+ 'revelation',
+ 'onetime',
+ 'gnupg2',
+ 'monkeysign',
+ 'gnutls-bin',
+ ]:
ensure => installed,
}
# Soon :)
- #package { 'keyringer':
+ #package { [
+ # 'keyringer',
+ #]:
# ensure => present,
#}
# To be evaluated
- #package { [ 'harden', 'paperkey' ]:
+ #package { [
+ # 'harden',
+ # 'paperkey',
+ #]:
# ensure => present,
#}
if $::lsbdistcodename != 'squeeze' {
- package { [ 'kedpm', 'kedpm-gtk' ]:
+ package { [
+ 'kedpm',
+ 'kedpm-gtk',
+ ]:
ensure => installed,
}
}
class nodo::utils::security::apparmor {
- package { [ 'apparmor', 'apparmor-profiles', 'apparmor-utils' ]:
+ package { [
+ 'apparmor',
+ 'apparmor-profiles',
+ 'apparmor-utils',
+ ]:
ensure => installed,
}
}
class nodo::utils::security::base {
- package { [ 'keychain', 'gnupg-curl' ]:
+ package { [
+ 'keychain',
+ 'gnupg-curl',
+ ]:
ensure => present,
}
# TODO: currently just available on jessie onwards
- #package { 'hopenpgp-tools':
+ #package { [
+ # 'hopenpgp-tools',
+ #]:
# ensure => present,
#}
}
ensure => present,
}
- package { [ 'bitmask', 'leap-keyring' ]:
+ package { [
+ 'bitmask',
+ 'leap-keyring',
+ ]:
ensure => present,
require => Apt::Sources_list['bitmask.net.list'],
}
# See https://qa.debian.org/developer.php?login=forensics-devel%40lists.alioth.debian.org
class nodo::utils::security::forensics {
- package { [ 'lime-forensics-dkms' ]:
+ package { [
+ 'lime-forensics-dkms',
+ ]:
ensure => present,
}
}
class nodo::utils::security::stego {
- package { [ 'snow', 'stegsnow', 'steghide', 'snowdrop', 'python-stepic' ]:
+ package { [
+ 'snow',
+ 'stegsnow',
+ 'steghide',
+ 'snowdrop',
+ 'python-stepic',
+ ]:
ensure => present,
}
}
class nodo::utils::security::tails {
- package { "tails-installer":
+ package { [
+ 'tails-installer',
+ ]:
ensure => present,
}
}
class nodo::utils::security::tpm {
- package { [ 'trousers', 'tpm-tools']:
+ package { [
+ 'trousers',
+ 'tpm-tools',
+ ]:
ensure => present,
}
}
# Common utilities for storage
class nodo::utils::storage {
- package { 'clamav':
+ package { [
+ 'clamav',
+ ]:
ensure => installed,
}
}
class nodo::utils::storage::archive {
- package { 'git-annex':
+ package { [
+ 'git-annex',
+ ]:
ensure => latest,
}
- package { [ 'jigdo-file', 'fdupes', 'gddrescue' ]:
+ package { [
+ 'jigdo-file',
+ 'fdupes',
+ 'gddrescue',
+ ]:
ensure => installed,
}
- package { 'syslinux-utils':
+ package { [
+ 'syslinux-utils',
+ ]:
ensure => $::architecture ? {
'amd64' => present,
'i386' => present,
class nodo::utils::storage::crypto {
- package { [ 'cryptsetup', 'ecryptfs-utils' ]:
+ package { [
+ 'cryptsetup',
+ 'ecryptfs-utils',
+ ]:
ensure => installed,
}
}
class nodo::utils::storage::iso {
- package { 'syslinux':
+ package { [
+ 'syslinux',
+ ]:
ensure => $::architecture ? {
'amd64' => present,
'i386' => present,
class nodo::utils::storage::layer {
include nodo::utils::storage::crypto
- package { [ 'mdadm', 'lvm2' ]:
+ package { [
+ 'mdadm',
+ 'lvm2',
+ ]:
ensure => installed,
}
}
class nodo::utils::suckless {
- package { [ 'dwm', 'mupdf', 'mupdf-tools', 'suckless-tools', 'surf', 'xvt', 'uzbl', 'xxxterm', 'zathura', 'stterm' ]:
+ package { [
+ 'dwm',
+ 'mupdf',
+ 'mupdf-tools',
+ 'suckless-tools',
+ 'surf',
+ 'xvt',
+ 'uzbl',
+ 'xxxterm',
+ 'zathura',
+ 'stterm',
+ ]:
ensure => installed,
}
}
class nodo::utils::thinkpad {
# Keyboard
- package { 'tpb':
+ package { [
+ 'tpb',
+ ]:
ensure => installed,
}
# Thinkfan
- package { 'thinkfan':
+ package { [
+ 'thinkfan',
+ ]:
ensure => installed
}
# HDAPS
- package { 'hdapsd':
+ package { [
+ 'hdapsd',
+ ]:
ensure => installed,
}
}
class nodo::utils::tor {
- package { 'tor-arm':
+ package { [
+ 'tor-arm',
+ ]:
ensure => installed,
}
}
class nodo::utils::touchpad {
# Touchpad
- package { 'gpointing-device-settings':
+ package { [
+ 'gpointing-device-settings',
+ ]:
ensure => present,
}
}
# Common utilities for web
class nodo::utils::web inherits nodo::utils::http {
- package { [ 'ffmpeg', 'flvtool2', 'rake',
- 'libxml2', 'libxml2-dev', 'libxslt1-dev', 'libmysqlclient-dev',
- 'g++', 'libcurl4-openssl-dev', 'apache2-prefork-dev', 'goaccess',
- 'apachetop' ]:
+ package { [
+ 'ffmpeg',
+ 'flvtool2',
+ 'rake',
+ 'libxml2',
+ 'libxml2-dev',
+ 'libxslt1-dev',
+ 'libmysqlclient-dev',
+ 'g++',
+ 'libcurl4-openssl-dev',
+ 'apache2-prefork-dev',
+ 'goaccess',
+ 'apachetop',
+ ]:
ensure => installed,
}
}