aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/network
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-12 17:09:03 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-12 17:09:03 -0300
commitfe1c86b8f938283e9dd8196a8b11a9648f4b49e6 (patch)
treec2d999eca03862a3e4af57e0885397adf6bbc6ec /manifests/utils/network
parentec5c750d12bdc7948bb3c04f0c72817718a0bf47 (diff)
downloadpuppet-nodo-fe1c86b8f938283e9dd8196a8b11a9648f4b49e6.tar.gz
puppet-nodo-fe1c86b8f938283e9dd8196a8b11a9648f4b49e6.tar.bz2
Major refactor
Diffstat (limited to 'manifests/utils/network')
-rw-r--r--manifests/utils/network/analyzer.pp5
-rw-r--r--manifests/utils/network/irssi.pp23
-rw-r--r--manifests/utils/network/minimal.pp17
-rw-r--r--manifests/utils/network/nfs.pp5
-rw-r--r--manifests/utils/network/samba.pp5
-rw-r--r--manifests/utils/network/torrent.pp5
6 files changed, 60 insertions, 0 deletions
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,
+ }
+}