summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Admin/Pull.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2009-01-11 16:36:27 +0000
committerNarayan Desai <desai@mcs.anl.gov>2009-01-11 16:36:27 +0000
commit1affc07c26fad2528a5847a77db33a9baabb9fc8 (patch)
tree87856d46824f2aba5b5832ae063d042294cd84be /src/lib/Server/Admin/Pull.py
parent4bb58ec3525ac58b9cda6f42df1a46af25361b92 (diff)
downloadbcfg2-1affc07c26fad2528a5847a77db33a9baabb9fc8.tar.gz
bcfg2-1affc07c26fad2528a5847a77db33a9baabb9fc8.tar.bz2
bcfg2-1affc07c26fad2528a5847a77db33a9baabb9fc8.zip
Split pull functionality into PullSource/PullTarget and rebase Cfg and SSHbase on PullTarget
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5011 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Admin/Pull.py')
-rw-r--r--src/lib/Server/Admin/Pull.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Admin/Pull.py b/src/lib/Server/Admin/Pull.py
index 60f528c1d..2a6432f22 100644
--- a/src/lib/Server/Admin/Pull.py
+++ b/src/lib/Server/Admin/Pull.py
@@ -98,7 +98,7 @@ class Pull(Bcfg2.Server.Admin.MetadataCore):
self.errExit("Got wrong numbers of matching generators for entry:" \
+ "%s" % ([g.name for g in glist]))
plugin = glist[0]
- if not isinstance(plugin, Bcfg2.Server.Plugin.PullSource):
+ if not isinstance(plugin, Bcfg2.Server.Plugin.PullTarget):
self.errExit("Configuration upload not supported by plugin %s" \
% (plugin.name))
try: