/[adm]/puppet/modules/xinetd/manifests/port_forward.pp
ViewVC logotype

Contents of /puppet/modules/xinetd/manifests/port_forward.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2676 - (show annotations) (download)
Thu Mar 22 18:07:23 2012 UTC (12 years ago) by misc
File size: 267 byte(s)
add a define for portforwarding with xinetd
1 define xinetd::port_forward($target_ip, $target_port, $port, $proto = 'tcp') {
2 include xinetd
3 file { "/etc/xinetd.d/$name":
4 require => Package['xinetd'],
5 content => template('xinetd/port_forward'),
6 notify => Service['xinetd']
7 }
8 }

  ViewVC Help
Powered by ViewVC 1.1.30