netcat: Fixed package name for CentOS 7.
This commit is contained in:
parent
1f3a73e105
commit
0b902759bc
1 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,10 @@ class netcat {
|
|||
name => $::operatingsystem ? {
|
||||
"debian" => "netcat",
|
||||
"ubuntu" => "netcat",
|
||||
"centos" => $::operatingsystemrelease ? {
|
||||
/^[1-6]/ => "nc",
|
||||
default => "nmap-ncat",
|
||||
},
|
||||
"fedora" => $::operatingsystemrelease ? {
|
||||
/^1[0-7]/ => "nc",
|
||||
default => "nmap-ncat",
|
||||
|
|
Loading…
Add table
Reference in a new issue