aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/network
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/utils/network')
-rw-r--r--manifests/utils/network/analyzer.pp8
-rw-r--r--manifests/utils/network/irssi.pp10
-rw-r--r--manifests/utils/network/mail.pp6
-rw-r--r--manifests/utils/network/nfs.pp6
-rw-r--r--manifests/utils/network/pppoe.pp6
-rw-r--r--manifests/utils/network/pptp.pp6
-rw-r--r--manifests/utils/network/samba.pp6
-rw-r--r--manifests/utils/network/snort.pp6
-rw-r--r--manifests/utils/network/torrent.pp6
-rw-r--r--manifests/utils/network/wicd.pp6
-rw-r--r--manifests/utils/network/xmpp.pp6
11 files changed, 47 insertions, 25 deletions
diff --git a/manifests/utils/network/analyzer.pp b/manifests/utils/network/analyzer.pp
index c3f4f41..7a30892 100644
--- a/manifests/utils/network/analyzer.pp
+++ b/manifests/utils/network/analyzer.pp
@@ -1,4 +1,6 @@
-class nodo::utils::network::analyzer {
+class nodo::utils::network::analyzer (
+ $ensure = 'installed',
+) {
package { [
'tshark',
'arping',
@@ -9,14 +11,14 @@ class nodo::utils::network::analyzer {
'iperf',
'zmap',
]:
- ensure => installed,
+ ensure => $ensure,
}
# https://www.linode.com/docs/networking/diagnosing-network-issues-with-mtr
package { [
'mtr',
]:
- ensure => present,
+ ensure => $ensure,
}
# Not in use
diff --git a/manifests/utils/network/irssi.pp b/manifests/utils/network/irssi.pp
index e6416b3..4ffd886 100644
--- a/manifests/utils/network/irssi.pp
+++ b/manifests/utils/network/irssi.pp
@@ -1,10 +1,12 @@
-class nodo::utils::network::irssi {
+class nodo::utils::network::irssi (
+ $ensure = 'installed',
+) {
package { [
'irssi',
'bitlbee',
'irssi-scripts',
]:
- ensure => installed,
+ ensure => $ensure,
}
package { [
@@ -17,7 +19,7 @@ class nodo::utils::network::irssi {
package { [
'irssi-plugin-otr',
]:
- ensure => installed,
+ ensure => $ensure,
}
# These are needed by the cap_sasl.pl irssi plugin
@@ -26,7 +28,7 @@ class nodo::utils::network::irssi {
'libcrypt-dh-perl',
'libcrypt-openssl-bignum-perl',
]:
- ensure => installed,
+ ensure => $ensure,
}
# Not on wheezy
diff --git a/manifests/utils/network/mail.pp b/manifests/utils/network/mail.pp
index 5c2b07f..281ced1 100644
--- a/manifests/utils/network/mail.pp
+++ b/manifests/utils/network/mail.pp
@@ -1,4 +1,6 @@
-class nodo::utils::network::mail {
+class nodo::utils::network::mail (
+ $ensure = 'installed',
+) {
# Mail
package { [
'mutt',
@@ -11,7 +13,7 @@ class nodo::utils::network::mail {
'procmail',
'msmtp',
]:
- ensure => installed,
+ ensure => $ensure,
}
# Fix: ensure that fetchmail is not a service
diff --git a/manifests/utils/network/nfs.pp b/manifests/utils/network/nfs.pp
index 19072fa..7bc817c 100644
--- a/manifests/utils/network/nfs.pp
+++ b/manifests/utils/network/nfs.pp
@@ -1,7 +1,9 @@
-class nodo::utils::network::nfs {
+class nodo::utils::network::nfs (
+ $ensure = 'installed',
+) {
package { [
'nfs-common',
]:
- ensure => installed,
+ ensure => $ensure,
}
}
diff --git a/manifests/utils/network/pppoe.pp b/manifests/utils/network/pppoe.pp
index db4e085..a9a62f4 100644
--- a/manifests/utils/network/pppoe.pp
+++ b/manifests/utils/network/pppoe.pp
@@ -1,9 +1,11 @@
-class nodo::utils::network::pppoe {
+class nodo::utils::network::pppoe (
+ $ensure = 'installed',
+) {
package { [
'ppp',
'pppoe',
'pppoeconf',
]:
- ensure => present,
+ ensure => $ensure,
}
}
diff --git a/manifests/utils/network/pptp.pp b/manifests/utils/network/pptp.pp
index bdd4776..8e8db9a 100644
--- a/manifests/utils/network/pptp.pp
+++ b/manifests/utils/network/pptp.pp
@@ -1,7 +1,9 @@
-class nodo::utils::network::pptp {
+class nodo::utils::network::pptp (
+ $ensure = 'installed',
+) {
package { [
'pptp-linux',
]:
- ensure => installed,
+ ensure => $ensure,
}
}
diff --git a/manifests/utils/network/samba.pp b/manifests/utils/network/samba.pp
index ee9fc82..e5a3ff5 100644
--- a/manifests/utils/network/samba.pp
+++ b/manifests/utils/network/samba.pp
@@ -1,9 +1,11 @@
-class nodo::utils::network::samba {
+class nodo::utils::network::samba (
+ $ensure = 'installed',
+) {
package { [
'smbclient',
'cifs-utils',
'nbtscan',
]:
- ensure => installed,
+ ensure => $ensure,
}
}
diff --git a/manifests/utils/network/snort.pp b/manifests/utils/network/snort.pp
index 8b14413..a94dc8a 100644
--- a/manifests/utils/network/snort.pp
+++ b/manifests/utils/network/snort.pp
@@ -1,7 +1,9 @@
-class nodo::utils::network::snort {
+class nodo::utils::network::snort (
+ $ensure = 'installed',
+) {
package { [
'snort',
]:
- ensure => present,
+ ensure => $ensure,
}
}
diff --git a/manifests/utils/network/torrent.pp b/manifests/utils/network/torrent.pp
index 027e2b8..e6f6771 100644
--- a/manifests/utils/network/torrent.pp
+++ b/manifests/utils/network/torrent.pp
@@ -1,7 +1,9 @@
-class nodo::utils::network::torrent {
+class nodo::utils::network::torrent (
+ $ensure = 'installed',
+) {
package { [
'rtorrent',
]:
- ensure => installed,
+ ensure => $ensure,
}
}
diff --git a/manifests/utils/network/wicd.pp b/manifests/utils/network/wicd.pp
index 065d5bb..86af12a 100644
--- a/manifests/utils/network/wicd.pp
+++ b/manifests/utils/network/wicd.pp
@@ -1,9 +1,11 @@
-class nodo::utils::network::wicd {
+class nodo::utils::network::wicd (
+ $ensure = 'installed',
+) {
package { [
'wicd',
'wicd-curses',
#'wicd-gtk',
]:
- ensure => installed,
+ ensure => $ensure,
}
}
diff --git a/manifests/utils/network/xmpp.pp b/manifests/utils/network/xmpp.pp
index 8b2c49e..9870338 100644
--- a/manifests/utils/network/xmpp.pp
+++ b/manifests/utils/network/xmpp.pp
@@ -1,4 +1,6 @@
-class nodo::utils::network::xmpp {
+class nodo::utils::network::xmpp (
+ $ensure = 'installed',
+) {
package { [
'pidgin',
'pidgin-encryption',
@@ -7,6 +9,6 @@ class nodo::utils::network::xmpp {
'pidgin-privacy-please',
'pidgin-plugin-pack',
]:
- ensure => present,
+ ensure => $ensure,
}
}