summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Redhat.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2005-09-12 20:33:27 +0000
committerNarayan Desai <desai@mcs.anl.gov>2005-09-12 20:33:27 +0000
commit9e78d594049913013265beb173793559395fb3e0 (patch)
tree490c9d55d2cd67aa50717c423816b3eb92fb27de /src/lib/Client/Redhat.py
parent33a351a6fad6c0beb8e29e14c031367d4ed29e34 (diff)
downloadbcfg2-9e78d594049913013265beb173793559395fb3e0.tar.gz
bcfg2-9e78d594049913013265beb173793559395fb3e0.tar.bz2
bcfg2-9e78d594049913013265beb173793559395fb3e0.zip
add type pkgtool support
(Logical change 1.304) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1247 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client/Redhat.py')
-rw-r--r--src/lib/Client/Redhat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Redhat.py b/src/lib/Client/Redhat.py
index d0bdbbfa2..db2c90a91 100644
--- a/src/lib/Client/Redhat.py
+++ b/src/lib/Client/Redhat.py
@@ -11,7 +11,7 @@ from Bcfg2.Client.Toolset import Toolset
class Redhat(Toolset):
'''This class implelements support for rpm packages and standard chkconfig services'''
- pkgtool = ("rpm --oldpackage --replacepkgs --quiet -U %s", ("%s", ["url"]))
+ pkgtool = {'rpm':("rpm --oldpackage --replacepkgs --quiet -U %s", ("%s", ["url"]))}
def __init__(self, cfg, setup):
Toolset.__init__(self, cfg, setup)