summaryrefslogtreecommitdiffstats
path: root/src/sbin
diff options
context:
space:
mode:
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)