From a4de0e44bd10761f5ec7d948fd0a3824720a90f2 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Fri, 6 May 2011 08:13:20 -0400 Subject: Rewrote NagiosGen config to use NagiosGen/config.xml, which understands and tags, rather than the client-specific Properties/NagiosGen.xml and the group-specific but limited NagiosGen/parents.xml. Includes schema and bcfg2-lint updates necessary. Wrote conversion tool, nagiosgen-convert.py, which converts everything but the tag in the old NagiosGen.xml, which cannot be reasonably converted to StructFile format. Also removed a _lot_ of string modification in NagiosGen.py, which should make it a fair bit faster. --- schemas/nagiosgen.xsd | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 schemas/nagiosgen.xsd (limited to 'schemas/nagiosgen.xsd') diff --git a/schemas/nagiosgen.xsd b/schemas/nagiosgen.xsd new file mode 100644 index 000000000..080994cd1 --- /dev/null +++ b/schemas/nagiosgen.xsd @@ -0,0 +1,31 @@ + + + + NagiosGen config schema for bcfg2 + Chris St. Pierre + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3-1-g7c22