projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
3068a5194b174dd12e208d5efe3a17bde648eccc
[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
steffani => false,
7
wieck => false,
8
default => true
9
}
10
11
Service['vsftpd'] {
12
ensure => stopped,
13
noop => $noop,
14
}
15
16
Service['vsftpd']->Service['xinetd']
17
18
file { '/etc/vsftpd.conf':
19
noop => $noop,
20
content => "listen=NO\n",
21
notify => Service['vsftpd']
22
}
23
}