summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Tools/RPM.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-12-21 15:26:25 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-12-21 15:26:25 +0000
commitfa2f524bb27853a86a6e505b13f4d25abc51303d (patch)
tree4fe535eb47e2c7eba76192e5f3b855ae4ba274ab /src/lib/Client/Tools/RPM.py
parentd82ad576a0f22eed32c78aa81af872a4f90bd2fc (diff)
downloadbcfg2-fa2f524bb27853a86a6e505b13f4d25abc51303d.tar.gz
bcfg2-fa2f524bb27853a86a6e505b13f4d25abc51303d.tar.bz2
bcfg2-fa2f524bb27853a86a6e505b13f4d25abc51303d.zip
Only activate RPM when the db has been initialized
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2603 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client/Tools/RPM.py')
-rw-r--r--src/lib/Client/Tools/RPM.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/RPM.py b/src/lib/Client/Tools/RPM.py
index 31a771c29..1a5eb8f94 100644
--- a/src/lib/Client/Tools/RPM.py
+++ b/src/lib/Client/Tools/RPM.py
@@ -7,7 +7,7 @@ import Bcfg2.Client.Tools, time
class RPM(Bcfg2.Client.Tools.PkgTool):
'''Support for RPM packages'''
__name__ = 'RPM'
- __execs__ = ['/bin/rpm']
+ __execs__ = ['/bin/rpm', '/var/lib/rpm']
__handles__ = [('Package', 'rpm')]
__req__ = {'Package': ['name', 'version', 'url']}
pkgtype = 'rpm'