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:
d15695b
)
Ensure the /var/run/vsftpd/empty exists as vsftpd is broken without it
author
Paul Wise
<pabs@debian.org>
Thu, 18 Jun 2015 06:01:16 +0000
(14:01 +0800)
committer
Paul Wise
<pabs@debian.org>
Thu, 18 Jun 2015 06:01:23 +0000
(14:01 +0800)
This is a workaround for vsftpd not including this file (#789127)
modules/vsftpd/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/vsftpd/manifests/init.pp
b/modules/vsftpd/manifests/init.pp
index
876e865
..
0ad87ba
100644
(file)
--- a/
modules/vsftpd/manifests/init.pp
+++ b/
modules/vsftpd/manifests/init.pp
@@
-25,6
+25,11
@@
class vsftpd {
notify => Exec['systemctl daemon-reload'],
}
+ # Ensure the empty dir is present, workaround for #789127
+ file { '/etc/tmpfiles.d/vsftpd.conf':
+ content => 'd /var/run/vsftpd/empty 0755 root root -'
+ notify => Exec['systemd-tmpfiles --create --exclude-prefix=/dev'],
+ }
munin::check { 'vsftpd':
ensure => absent