summaryrefslogtreecommitdiffstats
path: root/src/sbin
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-03-28 21:24:20 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-03-28 21:24:20 +0000
commit2d891a36d2eab776175ae77205bfeea435550f08 (patch)
treefebbc1a3902d4c253ae88fc3f6391031458abea4 /src/sbin
parent3f50ca7c85a6bfae26588c228467db86095c9a08 (diff)
downloadbcfg2-2d891a36d2eab776175ae77205bfeea435550f08.tar.gz
bcfg2-2d891a36d2eab776175ae77205bfeea435550f08.tar.bz2
bcfg2-2d891a36d2eab776175ae77205bfeea435550f08.zip
Fix bootstrap of new clients using uuids
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2997 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin')
-rwxr-xr-xsrc/sbin/bcfg2-server2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sbin/bcfg2-server b/src/sbin/bcfg2-server
index adfd47942..c868ab023 100755
--- a/src/sbin/bcfg2-server
+++ b/src/sbin/bcfg2-server
@@ -173,7 +173,7 @@ class Bcfg2Serv(Bcfg2.Server.Component.Component):
'''Set profile for a client'''
try:
client = self.Core.metadata.resolve_client(address)
- self.Core.metadata.set_profile(client, profile)
+ self.Core.metadata.set_profile(client, profile, address)
except (Bcfg2.Server.Plugins.Metadata.MetadataConsistencyError, Bcfg2.Server.Plugins.Metadata.MetadataRuntimeError):
warning = 'metadata consistency error'
self.logger.warning(warning)