Signed-off-by: Stephen Gran <steve@lobefin.net>
class vsftpd::nolisten {
Service['vsftpd'] {
- ensure => stopped
+ ensure => stopped,
+ noop => true,
}
file { '/etc/vsftpd.conf':
+ noop => true,
content => 'listen=NO'
notify => Service['vsftpd']
}
if $source {
file { $fname:
ensure => $ensure,
+ noop => true,
source => $source,
}
} elsif $content {
file { $fname:
ensure => $ensure,
+ noop => true,
content => $content,
}
} else {
class xinetd {
package { 'xinetd':
- ensure => installed
+ ensure => installed,
+ noop => true,
}
service { 'xinetd':
- ensure => running
+ ensure => running,
+ noop => true,
}
}
file { "/etc/xinetd.d/${name}.conf":
ensure => $ensure,
+ noop => true,
content => template('xinetd/service.erb'),
notify => Service['xinetd'],
require => Package['xinetd'],