blob: 2717466e5cffa05ecdced9f00a2785e57f31e2cc (
plain)
1
2
3
4
5
6
7
8
|
define xinetd::port_forward($target_ip, $target_port, $port, $proto = 'tcp') {
include xinetd
file { "/etc/xinetd.d/${name}":
require => Package['xinetd'],
content => template('xinetd/port_forward'),
notify => Service['xinetd']
}
}
|