Initial version of netcat module.
This commit is contained in:
parent
9bd88b5f4e
commit
b8534b568b
1 changed files with 16 additions and 0 deletions
16
netcat/manifests/init.pp
Normal file
16
netcat/manifests/init.pp
Normal file
|
@ -0,0 +1,16 @@
|
|||
|
||||
# Install netcat
|
||||
#
|
||||
class netcat {
|
||||
|
||||
if $operatingsystem != "OpenBSD" {
|
||||
package { "netcat":
|
||||
name => $operatingsystem ? {
|
||||
"ubuntu" => "netcat",
|
||||
default => "nc",
|
||||
},
|
||||
ensure => present,
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue