+
+ # we have installed a newer trapperkeeper-webserver-jetty9-clojure,
+ # cf. Debian#924005, Debian#930562
+ if versioncmp(Timestamp().strftime('%F'), '2019-12-01') <= 0 {
+ $ensure = versioncmp($::operatingsystemrelease, '10.1') <= 0 ? {
+ true => 'present',
+ default => 'absent',
+ }
+ file { '/etc/nagios/obsolete-packages-ignore.d/trapperkeeper-webserver-jetty9-clojure':
+ content => "trapperkeeper-webserver-jetty9-clojure\n",
+ }
+ } elsif versioncmp(Timestamp().strftime('%F'), '2020-02-01') <= 0 {
+ notify {'Temporary ignore rule expired, package should be in the archive':
+ loglevel => warning, }
+ } else {
+ fail('Clean up roles::puppetmaster')
+ }