summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-03-17 18:32:28 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-03-17 18:32:28 +0000
commitfd64a07dd9892d2024146dedcb11e02e7ba9c360 (patch)
tree52a2af076969b20e7a6f5b92b4b97a7da9894337 /src
parent58b5e071c9b7c3fb27b0c918beca8f8d4fd557ee (diff)
downloadbcfg2-fd64a07dd9892d2024146dedcb11e02e7ba9c360.tar.gz
bcfg2-fd64a07dd9892d2024146dedcb11e02e7ba9c360.tar.bz2
bcfg2-fd64a07dd9892d2024146dedcb11e02e7ba9c360.zip
Remove deprecated PostInstall driver
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4424 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r--src/lib/Client/Tools/PostInstall.py21
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'))
-