summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2012-08-16 15:42:53 -0500
committerSol Jerome <sol.jerome@gmail.com>2012-08-16 15:42:53 -0500
commit6f939d6a80ca36bc4c061d28a8f4abc216ffb9cb (patch)
tree8189867208511f3370d93be31f0e3e9cb08aa816 /src/lib
parentd62579d6c4bf3d2ae0a5d7e696812dc8202de8bd (diff)
downloadbcfg2-6f939d6a80ca36bc4c061d28a8f4abc216ffb9cb.tar.gz
bcfg2-6f939d6a80ca36bc4c061d28a8f4abc216ffb9cb.tar.bz2
bcfg2-6f939d6a80ca36bc4c061d28a8f4abc216ffb9cb.zip
Admin/Init: Fix auto-generated clients.xml
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Bcfg2/Server/Admin/Init.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/Bcfg2/Server/Admin/Init.py b/src/lib/Bcfg2/Server/Admin/Init.py
index 77c3c1ade..839685be6 100644
--- a/src/lib/Bcfg2/Server/Admin/Init.py
+++ b/src/lib/Bcfg2/Server/Admin/Init.py
@@ -310,9 +310,10 @@ class Init(Bcfg2.Server.Admin.Mode):
"""Initialize each plugin-specific portion of the repository."""
for plugin in self.plugins:
if plugin == 'Metadata':
- Bcfg2.Server.Plugins.Metadata.Metadata.init_repo(self.repopath,
- groups_xml=groups % self.os_sel,
- clients_xml=clients)
+ Bcfg2.Server.Plugins.Metadata.Metadata.init_repo(
+ self.repopath,
+ groups_xml=groups % self.os_sel,
+ clients_xml=clients % socket.getfqdn())
else:
try:
module = __import__("Bcfg2.Server.Plugins.%s" % plugin, '',