1 define xinetd::service (
25 present,absent,file: {}
26 default: { fail("Invalid ensure for '$name'") }
35 @ferm::rule { "dsa-xinetd-${name}":
36 description => "Allow traffic to ${service}",
37 rule => "&SERVICE(${protocol}, ${fermport})"
41 file { "/etc/xinetd.d/${name}":
43 content => template('xinetd/service.erb'),
44 notify => Service['xinetd'],
45 require => Package['xinetd'],