From fce2f1eef2546f9a8c1afb5bb5ddd7d1ceee9f6d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 12 Sep 2015 15:01:31 -0300 Subject: Package zmap not available on squeeze --- manifests/utils/network/analyzer.pp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'manifests/utils/network/analyzer.pp') 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, -- cgit v1.2.3