| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Remove the "reloc" <Package> attribute from the documentation and from
the XML Schema, as it is no longer supported (since commit 7beb2f08d8).
|
|
|
|
|
| |
Nesting Bundle tags is now allowed in order to support XInclude within
Bundles.
|
|
|
|
|
|
| |
The contents/diffs of <Path>s which are marked as "sensitive" are now
omitted from the reports transmitted to the server, so that they won't
end up in the statistics database.
|
|
|
|
|
|
|
| |
This allows for a recursive='true' attribute such that the owner/group
can be set recursively for a directory when using Path type='permissions'.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Our XML Schema for Genshi templates expected "choose" blocks to be
declared like this:
<py:choose test="$foo">
<when test="0"><!-- [...] --></when>
<when test="1"><!-- [...] --></when>
<otherwise><!-- [...] --></otherwise>
</py:choose>
However, we prefer to namespace-qualify not only the "choose" element,
but also the "when" and "otherwise" tags (for clarity, and because
that's how it's done in the Genshi documentation):
<py:choose test="$foo">
<py:when test="0"><!-- [...] --></py:when>
<py:when test="1"><!-- [...] --></py:when>
<py:otherwise><!-- [...] --></py:otherwise>
</py:choose>
This commit tells XML Schema validators to expect the latter style.
|
|
|
|
|
| |
Bound entries and Client tags may also be used in Base/*.xml files, so
the XML Schema for Base files must permit these entries.
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
understands <Group> and <Client> 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 <default/> 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.
|
|
|
|
|
| |
* fixed detection of RHEL version and python Sphinx path
* added XSL file to do XSLT transform for build_dtddoc
|
| |
|
|
|
|
|
|
| |
* bcfg2-repo-validate does not chase XIncludes if --stdin has been
specified, but just validates the Metadata files you provide on
stdin
|
| |
|
|
|
|
|
|
|
|
| |
* altsrc attr is not allowed on Service and Action tags
* Removed duplicate definition of PackageType, fixed required attrs
* Removed deprecated <Ignore> tags in BoundPackage Instances
* Added Genshi schema, made Genshi bundles validate
* Use builtin xs:boolean type where possible
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From the ticket:
I've attached a patch that does two things:
1. Uses xs3p (http://xml.fiforms.org/xs3p/), an XSLT stylesheet, to do
transforms on the Bcfg2 DTD and automatically generates documentation on
the DTD. I added a build_dtddoc command to setup.py that performs the
transforms using lxml.etree and puts the resulting HTML in build/dtd. I
also added some documentation to bundle.xsd; it's not much, but should
demonstrate the ease with which the DTD can be documented with this
system in use.
2. I added both build_sphinx and build_dtddoc commands to the RPM
specfile, and added a -doc subpackage to put the resulting HTML in. The
specfile builds successfully on CentOS 5 and Fedora 13.
There are a couple of known issues:
1. The output from xs3p uses pop-ups to present documentation on
non-global components, which, due to the way the Bcfg2 DTD is written,
is most of them. This is ugly. It could be improved by modifying the
XSLT, but I'm not a web designer and wasn't sure the best way to present
that information. Either way, this is a start.
2. The python-sphinx10 package in EPEL 5 apparently has a bug where it
fails to add itself to sys.path after installing. There's some ugliness
in the spec file to get around that.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
|
| |
(Reported by Mike McCallister in Ticket #950)
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6083 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6050 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6000 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5990 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
| |
Patch from IRConan to allow for whitelisted packages in
sources.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5988 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5960 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
|
|
|
| |
We currently have 'important' entries specified only inside the code for
various client tools. This provides no room for growing that list
outside of adding things to the code itself. With this change, users can
now specify important entries via an additional attribute in their
info.xml files.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5957 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5945 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5930 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5826 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5809 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5755 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5753 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5727 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
|
| |
* Remove old translation schema for bcfg1
* Remove old POSIX entries
* Remove toolsetType schema since it's no longer used
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5708 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5705 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5609 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
| |
Bush)
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5607 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5576 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
| |
Lockert) [bugfix]
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5571 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
|
| |
* Add missing 'prune' attribute for Path entries
* Allow for Path entries to be grouped in Rules (Reported by Thorsten Lockert)
* Add 'target' attribute for new service mode
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5570 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
|
|
| |
The client should now understand old and new POSIX entries. It is
compatible with 0.9.6, 1.0 using POSIXCompat, and new 1.0 Path
entries.
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5485 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
|
| |
This commit adds support for posix device types via Path entries in
Bundler. The 'type' attribute for Path entries is now all lowercase.
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5470 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5469 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5466 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5463 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
| |
McCallister)
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5395 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
| |
Add support for the addition of multiple new group memberships based on a single
pattern (of either type). Alsa add support in the schema.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5336 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5330 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5327 ce84e21b-d406-0410-9b95-82705330c041
|