From fa6836c87b31bd14d8485f97a2d52a4a7e2a3a8a Mon Sep 17 00:00:00 2001
From: Hans Persson <hans@nsc.liu.se>
Date: Thu, 4 Mar 2021 13:33:54 +0100
Subject: [PATCH] Remove the cleanup class tsmbackup_cleanup.

This cleanup class should have served its purpose by now, so it's
time to cleanup the cleanup.
---
 manifests/tsmbackup_cleanup.pp | 39 ----------------------------------
 1 file changed, 39 deletions(-)
 delete mode 100644 manifests/tsmbackup_cleanup.pp

diff --git a/manifests/tsmbackup_cleanup.pp b/manifests/tsmbackup_cleanup.pp
deleted file mode 100644
index 9b67e3f..0000000
--- a/manifests/tsmbackup_cleanup.pp
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright (C) 2009-2011 Thomas Bellman, Pär Lindfors.
-# Licensed under the GNU LGPL v3+; see the README file for more information.
-
-
-/*
- * Get rid of old-style remnants.
- *
- * Older versions of this manifest used a special helper RPM named
- * "tsmbackup", produced at NSC.  This class removes that and remnants
- * from it.
- *
- * If you have used older versions of this manifest, you should
- * include this class, as the old way collides with the new way
- */
-class tsmclient::tsmbackup_cleanup
-{
-    package {
-	'tsmbackup':
-	    ensure => absent;
-    }
-    file {
-	# We installed this one; it was not part of the tsmbackup RPM.
-	'/etc/sysconfig/tsmbackup':
-	    ensure => absent;
-	'/etc/logrotate.d/tsmbackup':
-	    ensure => absent;
-    }
-    tidy {
-	# These are not always properly removed when uninstalling
-	# the tsmbackup RPM.
-	'/etc/rc.d':
-	    age => '0', recurse => 2,
-	    matches => '[SK][0-9][0-9]tsmbackup';
-    }
-    service {
-	'tsmbackup':
-	    enable => false;
-    }
-}
-- 
GitLab