projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4a55272613bb525afb89278e420a17797f9f6c84
[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
morricone => false,
13
default => true
14
}
15
16
Service['vsftpd'] {
17
ensure => stopped,
18
noop => $noop,
19
}
20
21
Service['vsftpd']->Service['xinetd']
22
23
file { '/etc/vsftpd.conf':
24
noop => $noop,
25
content => "listen=NO\n",
26
notify => Service['vsftpd']
27
}
28
}