Skip to content
Snippets Groups Projects
Commit fa6836c8 authored by Hans Persson's avatar Hans Persson
Browse files

Remove the cleanup class tsmbackup_cleanup.

This cleanup class should have served its purpose by now, so it's
time to cleanup the cleanup.
parent 468da466
Branches
No related tags found
No related merge requests found
# 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;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment