summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-04-10 21:42:26 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-04-10 21:42:26 +0000
commit417eb92d3c1712a8c925a577e34451d278fcddd7 (patch)
treec32ca800b24043d3bfc72f51b6c4742a8d6eb3ae /src/lib
parenta517abee840bc2f6ca4518d1538739161fafbe51 (diff)
downloadbcfg2-417eb92d3c1712a8c925a577e34451d278fcddd7.tar.gz
bcfg2-417eb92d3c1712a8c925a577e34451d278fcddd7.tar.bz2
bcfg2-417eb92d3c1712a8c925a577e34451d278fcddd7.zip
Fix bcfg2.conf generation in bcfg2-admin init
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4520 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Server/Admin/Init.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Admin/Init.py b/src/lib/Server/Admin/Init.py
index 0a1c631c8..c78750009 100644
--- a/src/lib/Server/Admin/Init.py
+++ b/src/lib/Server/Admin/Init.py
@@ -127,7 +127,7 @@ class Init(Bcfg2.Server.Admin.Mode):
keypath = os.path.dirname(os.path.abspath(configfile))
confdata = config % (
- repo, opts['struct'], opts['gens'],
+ repo, ','.join(opts['struct']), ','.join(opts['gens']),
opts['sendmail'], opts['proto'],
password, keypath, server_uri
)