From 2a425a85aee59abba7f8de4b9bb6f61824938d82 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 8 Sep 2019 10:43:23 +0200 Subject: [PATCH] Remove temporary DC19 rules for roles::sreview --- modules/roles/manifests/sreview.pp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/modules/roles/manifests/sreview.pp b/modules/roles/manifests/sreview.pp index 1bc91edd8..89c01d201 100644 --- a/modules/roles/manifests/sreview.pp +++ b/modules/roles/manifests/sreview.pp @@ -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', -- 2.20.1