aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-09-12 15:01:31 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-09-12 15:01:31 -0300
commitfce2f1eef2546f9a8c1afb5bb5ddd7d1ceee9f6d (patch)
tree1edcf01bb7c4f1d707625ee694d562e7533620a9 /manifests/utils
parentfb50d6cd0add847c6ce28ac6d9269b4d1d236f09 (diff)
downloadpuppet-nodo-fce2f1eef2546f9a8c1afb5bb5ddd7d1ceee9f6d.tar.gz
puppet-nodo-fce2f1eef2546f9a8c1afb5bb5ddd7d1ceee9f6d.tar.bz2
Package zmap not available on squeeze
Diffstat (limited to 'manifests/utils')
-rw-r--r--manifests/utils/network/analyzer.pp9
1 files changed, 8 insertions, 1 deletions
diff --git a/manifests/utils/network/analyzer.pp b/manifests/utils/network/analyzer.pp
index 956f10d..4efa569 100644
--- a/manifests/utils/network/analyzer.pp
+++ b/manifests/utils/network/analyzer.pp
@@ -1,8 +1,15 @@
class nodo::utils::network::analyzer {
- package { [ 'tshark', 'arping', 'fping', 'oping', 'tcptraceroute', 'tcpstat', 'iperf', 'zmap' ]:
+ package { [ 'tshark', 'arping', 'fping', 'oping', 'tcptraceroute', 'tcpstat', 'iperf' ]:
ensure => installed,
}
+ package { 'zmap':
+ ensure => $::lsbdistcodename ? {
+ 'squeeze' => absent,
+ default => present,
+ }
+ }
+
# https://www.linode.com/docs/networking/diagnosing-network-issues-with-mtr
package { 'mtr':
ensure => present,