on ftp, ports, and security-master: store ssh allows to be collected on the syncproxies
[mirror/dsa-puppet.git] / modules / roles / manifests / ftp_master.pp
index 7767589..f8d6f87 100644 (file)
@@ -11,4 +11,12 @@ class roles::ftp_master {
     key      => true,
     tlsaport => [443, 1873],
   }
+
+  # export ssh allow rules for hosts that we should be able to access
+  @@ferm::rule::simple { "dsa-ssh-from-syncproxy-${::fqdn}":
+    tag         => 'ssh::server::allow::ftp-master',
+    description => 'Allow ssh access from ftp-master',
+    port        => '22',
+    saddr       => $base::public_addresses,
+  }
 }