From afce508db22c0028ef108cd636fbc82f4cc2f52d Mon Sep 17 00:00:00 2001 From: anatoly techtonik Date: Sat, 10 Sep 2011 20:34:23 +0300 Subject: make it clear that default list of plugins is taken from Options.SERVER_PLUGINS.default --- src/lib/Server/Admin/Init.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/lib/Server/Admin/Init.py') diff --git a/src/lib/Server/Admin/Init.py b/src/lib/Server/Admin/Init.py index 9a6ad9de9..9abf67a09 100644 --- a/src/lib/Server/Admin/Init.py +++ b/src/lib/Server/Admin/Init.py @@ -103,12 +103,7 @@ plugin_list = ['Account', 'TGenshi'] # Default list of plugins to use -default_plugins = ['Bundler', - 'Cfg', - 'Metadata', - 'Pkgmgr', - 'Rules', - 'SSHbase'] +default_plugins = Bcfg2.Options.SERVER_PLUGINS.default def gen_password(length): @@ -391,7 +386,7 @@ class Init(Bcfg2.Server.Admin.Mode): """Setup a new repo and create the content of the configuration file.""" keypath = os.path.dirname(os.path.abspath(self.configfile)) confdata = config % (self.repopath, - ','.join(self.opts['plugins']), + ','.join(self.plugins), self.opts['sendmail'], self.opts['proto'], self.password, -- cgit v1.2.3-1-g7c22