Remove temporary DC19 rules for roles::sreview
authorPeter Palfrader <peter@palfrader.org>
Sun, 8 Sep 2019 08:43:23 +0000 (10:43 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sun, 8 Sep 2019 08:43:23 +0000 (10:43 +0200)
modules/roles/manifests/sreview.pp

index 1bc91ed..89c01d2 100644 (file)
@@ -1,20 +1,6 @@
 class roles::sreview {
        ssl::service { 'sreview.debian.net': notify  => Exec['service apache2 reload'], key => true, }
 
-       $now = Timestamp()
-       $date = $now.strftime('%F')
-
-       if versioncmp($date, '2019-08-15') <= 0 {
-               ferm::rule { 'temporary-dc19-access':
-                       description     => 'temporarily allow DC19 access, cf. RT#7845',
-                       rule            => '&SERVICE_RANGE(tcp, 5432, ( 200.134.17.48/28 ))',
-               }
-       } else {
-               # also clean up pg_hba on vittoria
-               notify {"Temporary DC19 ferm rule expired, cf. RT#7845":
-                       loglevel => warning, }
-       }
-
        file { '/var/lib/systemd/linger':
                ensure => directory,
                mode   => '755',