summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-08-08 20:21:04 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-08-08 20:21:04 +0000
commit8c74b0c77d4128f67fad1ad29234d505e1e038e9 (patch)
treefe507ca2d9bc975a2b7d2279a2306f65dc482e12
parenta494480eb34a2aa6b128bb68c1bde9080f5d00d1 (diff)
downloadbcfg2-8c74b0c77d4128f67fad1ad29234d505e1e038e9.tar.gz
bcfg2-8c74b0c77d4128f67fad1ad29234d505e1e038e9.tar.bz2
bcfg2-8c74b0c77d4128f67fad1ad29234d505e1e038e9.zip
finish sshbase class change
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3617 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Server/Plugins/SSHbase.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Plugins/SSHbase.py b/src/lib/Server/Plugins/SSHbase.py
index bc5375da6..9e87a4fdc 100644
--- a/src/lib/Server/Plugins/SSHbase.py
+++ b/src/lib/Server/Plugins/SSHbase.py
@@ -173,8 +173,8 @@ class SSHbase(Bcfg2.Server.Plugin.Plugin, Bcfg2.Server.Plugin.DirectoryBacked):
(temploc, keytype, client))
open(fileloc, 'w').write(open(temploc).read())
open(publoc, 'w').write(open("%s.pub" % temploc).read())
- self.repository.AddEntry(hostkey)
- self.repository.AddEntry(".".join([hostkey.split('.')[0]]+['pub', "H_%s" % client]))
+ self.AddEntry(hostkey)
+ self.AddEntry(".".join([hostkey.split('.')[0]]+['pub', "H_%s" % client]))
try:
os.unlink(temploc)
os.unlink("%s.pub" % temploc)