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