projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3557d57
)
and catch vsftp as well
author
Stephen Gran
<steve@lobefin.net>
Sat, 28 Apr 2012 09:10:51 +0000
(10:10 +0100)
committer
Stephen Gran
<steve@lobefin.net>
Sat, 28 Apr 2012 09:10:51 +0000
(10:10 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/vsftpd/manifests/nolisten.pp
patch
|
blob
|
history
diff --git
a/modules/vsftpd/manifests/nolisten.pp
b/modules/vsftpd/manifests/nolisten.pp
index
9347845
..
9e45fba
100644
(file)
--- a/
modules/vsftpd/manifests/nolisten.pp
+++ b/
modules/vsftpd/manifests/nolisten.pp
@@
-1,14
+1,19
@@
class vsftpd::nolisten inherits vsftpd {
+ $noop = $::hostname ? {
+ villa => false,
+ default => true
+ }
+
Service['vsftpd'] {
ensure => stopped,
- noop =>
true
,
+ noop =>
$noop
,
}
Service['vsftpd']->Service['xinetd']
file { '/etc/vsftpd.conf':
- noop =>
true
,
+ noop =>
$noop
,
content => "listen=NO\n",
notify => Service['vsftpd']
}