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:
20b0dd5
)
Mask the vsftpd service as we are launching it from xinetd
author
Paul Wise
<pabs@debian.org>
Wed, 10 Jun 2015 02:36:43 +0000
(10:36 +0800)
committer
Paul Wise
<pabs@debian.org>
Wed, 10 Jun 2015 02:38:14 +0000
(10:38 +0800)
modules/vsftpd/manifests/site.pp
patch
|
blob
|
history
diff --git
a/modules/vsftpd/manifests/site.pp
b/modules/vsftpd/manifests/site.pp
index
f8a71a0
..
9cdacde
100644
(file)
--- a/
modules/vsftpd/manifests/site.pp
+++ b/
modules/vsftpd/manifests/site.pp
@@
-48,5
+48,12
@@
define vsftpd::site (
require => File[$fname]
}
+ # Mask the vsftpd service as we are using xinetd
+ file { '/etc/systemd/system/vsftpd.service':
+ ensure => 'link',
+ target => '/dev/null',
+ notify => Exec['systemctl daemon-reload'],
+ }
+
Service['vsftpd']->Service['xinetd']
}