install nmap on Debian 9

Debian 9 has no ncat package, but ncat comes
with nmap
This commit is contained in:
Keith Whyte 2021-02-26 05:08:27 +01:00
parent 2965ecdaf6
commit 7785093e06

View file

@ -30,7 +30,7 @@ class rhizo_base::packages::common {
'sngrep', 'rrdtool', 'dnsmasq', 'joe', 'curl', 'htop', 'screen', 'iperf3', 'sngrep', 'rrdtool', 'dnsmasq', 'joe', 'curl', 'htop', 'screen', 'iperf3',
'websocketd', 'fping', 'mtr-tiny', 'openssh-server', 'telnet', 'netcat-traditional', 'websocketd', 'fping', 'mtr-tiny', 'openssh-server', 'telnet', 'netcat-traditional',
'python-unidecode', 'python-dateutil', 'python-yaml', 'python-formencode', 'python-unidecode', 'python-dateutil', 'python-yaml', 'python-formencode',
'python-smpplib', 'python-psycopg2', 'python-pysqlite2', 'ncat' ]: 'python-smpplib', 'python-psycopg2', 'python-pysqlite2' ]:
ensure => installed, ensure => installed,
require => Class['rhizo_base::apt'], require => Class['rhizo_base::apt'],
} }
@ -44,7 +44,7 @@ class rhizo_base::packages::common {
class rhizo_base::packages::buster inherits rhizo_base::packages::common { class rhizo_base::packages::buster inherits rhizo_base::packages::common {
package { ['libcdk5nc6', 'msmtp-mta' ]: package { ['libcdk5nc6', 'msmtp-mta', 'ncat' ]:
ensure => installed, ensure => installed,
require => Class['rhizo_base::apt'], require => Class['rhizo_base::apt'],
} }
@ -62,7 +62,7 @@ class rhizo_base::packages::buster inherits rhizo_base::packages::common {
class rhizo_base::packages::stretch inherits rhizo_base::packages::common { class rhizo_base::packages::stretch inherits rhizo_base::packages::common {
package { ['libcdk5' ]: package { ['libcdk5', 'nmap' ]:
ensure => installed, ensure => installed,
require => Class['rhizo_base::apt'], require => Class['rhizo_base::apt'],
} }