diff options
Diffstat (limited to 'src/lib/Client')
-rw-r--r-- | src/lib/Client/Tools/PostInstall.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/lib/Client/Tools/PostInstall.py b/src/lib/Client/Tools/PostInstall.py deleted file mode 100644 index 0a529f4fd..000000000 --- a/src/lib/Client/Tools/PostInstall.py +++ /dev/null @@ -1,21 +0,0 @@ -'''PostInstall Support''' -__revision__ = '$Revision$' - -import Bcfg2.Client.Tools - -class PostInstall(Bcfg2.Client.Tools.Tool): - '''Implement PostInstalls''' - __name__ = 'PostInstall' - __handles__ = [('PostInstall', None)] - __req__ = {'PostInstall': ['name']} - - def VerifyPostInstall(self, dummy, _): - '''PostInstalls always verify true''' - return True - - def BundleUpdated(self, bundle, states): - '''Run postinstalls when bundles have been updated''' - for entry in bundle: - if entry.tag == 'PostInstall': - self.cmd.run(entry.get('name')) - |