Disable ftp in security_mirror role
authorBastian Blank <waldi@debian.org>
Fri, 31 Mar 2017 09:27:09 +0000 (11:27 +0200)
committerMartin Zobel-Helas <zobel@debian.org>
Fri, 31 Mar 2017 10:09:18 +0000 (12:09 +0200)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
modules/roles/manifests/security_mirror.pp

index d135ffe..c6019a8 100644 (file)
@@ -38,7 +38,9 @@ class roles::security_mirror {
        }
 
        if has_role('security_mirror_no_ftp') {
-        # nop
+               vsftpd::site { [ 'security', 'security6' ]:
+                       ensure => absent,
+               }
        } else {
                include ferm::ftp_conntrack
                vsftpd::site { 'security':