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