projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9e45fba1d2c023eb77901bc738a9953c8bbb16da
[mirror/dsa-puppet.git]
/
modules
/
vsftpd
/
manifests
/
nolisten.pp
1
class vsftpd::nolisten inherits vsftpd {
2
3
$noop = $::hostname ? {
4
villa => false,
5
default => true
6
}
7
8
Service['vsftpd'] {
9
ensure => stopped,
10
noop => $noop,
11
}
12
13
Service['vsftpd']->Service['xinetd']
14
15
file { '/etc/vsftpd.conf':
16
noop => $noop,
17
content => "listen=NO\n",
18
notify => Service['vsftpd']
19
}
20
}