Modify ↓
Ticket #274 (closed defect: fixed)
Server crashes when the generators or structures line is empty in config file
Reported by: | thomas | Owned by: | desai |
---|---|---|---|
Priority: | minor | Milestone: | Bcfg2 0.8.7 Release (LISA) |
Component: | bcfg2-server | Version: | |
Keywords: | Cc: |
Description
I use bcfg2 with only one plugin which takes care of the generation and buildstructures parts. Problem is that the server is unable to parse the following config file snippet:
structures = MyPlugin? generators =
The error message is: Traceback (most recent call last):
File "/usr/bin/bcfg2-server", line 218, in ?
BSERV = Bcfg2Serv(SSETUP)
File "/usr/bin/bcfg2-server", line 81, in init
self.Core = Core(setup, setupconfigfile?)
File "/usr/lib/python2.4/site-packages/Bcfg2/Server/Core.py", line 236, in init
mod = getattr(import("Bcfg2.Server.Plugins.%s" %
ValueError?: Empty module name
If I write:
it works just fine.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
Resolved in [1a6ad11ecc79a6bfa3e0ed1a2cf6d5e0e9057081] (SVN r2507)