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