diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2012-08-16 15:42:53 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2012-08-16 15:42:53 -0500 |
commit | 6f939d6a80ca36bc4c061d28a8f4abc216ffb9cb (patch) | |
tree | 8189867208511f3370d93be31f0e3e9cb08aa816 /src/lib | |
parent | d62579d6c4bf3d2ae0a5d7e696812dc8202de8bd (diff) | |
download | bcfg2-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.py | 7 |
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, '', |