From fe1c86b8f938283e9dd8196a8b11a9648f4b49e6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 12 Apr 2013 17:09:03 -0300 Subject: Major refactor --- manifests/utils/network/analyzer.pp | 5 +++++ manifests/utils/network/irssi.pp | 23 +++++++++++++++++++++++ manifests/utils/network/minimal.pp | 17 +++++++++++++++++ manifests/utils/network/nfs.pp | 5 +++++ manifests/utils/network/samba.pp | 5 +++++ manifests/utils/network/torrent.pp | 5 +++++ 6 files changed, 60 insertions(+) create mode 100644 manifests/utils/network/analyzer.pp create mode 100644 manifests/utils/network/irssi.pp create mode 100644 manifests/utils/network/minimal.pp create mode 100644 manifests/utils/network/nfs.pp create mode 100644 manifests/utils/network/samba.pp create mode 100644 manifests/utils/network/torrent.pp (limited to 'manifests/utils/network') diff --git a/manifests/utils/network/analyzer.pp b/manifests/utils/network/analyzer.pp new file mode 100644 index 0000000..64ed803 --- /dev/null +++ b/manifests/utils/network/analyzer.pp @@ -0,0 +1,5 @@ +class nodo::utils::network::analyzer { + package { [ 'tshark' ]: + ensure => installed, + } +} diff --git a/manifests/utils/network/irssi.pp b/manifests/utils/network/irssi.pp new file mode 100644 index 0000000..e476a0d --- /dev/null +++ b/manifests/utils/network/irssi.pp @@ -0,0 +1,23 @@ +class nodo::utils::network::irssi { + package { [ 'irssi', 'bitlbee', 'irssi-scripts' ]: + ensure => installed, + } + + # See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695150 + #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' ]: + ensure => installed, + } + + # Not on wheezy + package { 'irssi-plugin-silc': + ensure => $::lsbdistcodename ? { + 'wheezy' => absent, + default => present, + } + } +} diff --git a/manifests/utils/network/minimal.pp b/manifests/utils/network/minimal.pp new file mode 100644 index 0000000..51c4efe --- /dev/null +++ b/manifests/utils/network/minimal.pp @@ -0,0 +1,17 @@ +class nodo::utils::network::minimal { + include nodo::utils::network::irssi + include nodo::utils::network::torrent + + package { 'unison': + ensure => installed, + } + + # For backwards compatibility + # See addversionno unison config parameter + package { 'unison2.32.52': + ensure => $::lsbdistcodename ? { + 'wheezy' => present, + default => absent, + } + } +} diff --git a/manifests/utils/network/nfs.pp b/manifests/utils/network/nfs.pp new file mode 100644 index 0000000..9abe38e --- /dev/null +++ b/manifests/utils/network/nfs.pp @@ -0,0 +1,5 @@ +class nodo::utils::network::nfs { + package { 'nfs-common': + ensure => installed, + } +} diff --git a/manifests/utils/network/samba.pp b/manifests/utils/network/samba.pp new file mode 100644 index 0000000..c53e5e5 --- /dev/null +++ b/manifests/utils/network/samba.pp @@ -0,0 +1,5 @@ +class nodo::utils::network::samba { + package { [ 'smbclient', 'cifs-utils' ]: + ensure => installed, + } +} diff --git a/manifests/utils/network/torrent.pp b/manifests/utils/network/torrent.pp new file mode 100644 index 0000000..154b24c --- /dev/null +++ b/manifests/utils/network/torrent.pp @@ -0,0 +1,5 @@ +class nodo::utils::network::torrent { + package { [ 'rtorrent' ]: + ensure => installed, + } +} -- cgit v1.2.3