summaryrefslogtreecommitdiffstats
path: root/schemas
Commit message (Collapse)AuthorAgeFilesLines
* added ability to specify arbitrary repository options to PackagesChris St. Pierre2012-05-231-0/+7
|
* add xml:base attr to all tags that can be xincludedChris St. Pierre2012-05-044-11/+24
|
* pkg_verify works on BoundPackage tag, not just InstanceChris St. Pierre2012-05-041-1/+2
|
* schemas: Add device attributes for BoundPath entriesSol Jerome2012-03-231-0/+6
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* cleaned up genshi schemaChris St. Pierre2012-01-235-50/+20
|
* fixed packages schema (reported by mattikus on IRC)Chris St. Pierre2012-01-231-15/+7
|
* added support for default/mandatory/optional package groupsChris St. Pierre2011-11-172-0/+11
|
* * Added support for yum libraries (if available and configured). ThisChris St. Pierre2011-10-075-13/+23
| | | | | | | | | | | | | | | | | | can dramatically reduce memory usage, and fixed several bugs: * #1014 (Package plugin can't resolve dependencies for rpms with Require: tags for full paths that aren't Provided explicitly) * #991 (Dependency Resolution difference between Package and yum) * #996 (Packages high memory usage) * Added support for Yum package groups when using yum libraries (#1039) * Fixed #911 (bcfg2 output for wrong package version with Packages is misleading) * YUMng turns down the Yum debug level itself depending on the debug/verbosity level requested by bcfg2 so you don't have to reduce the Yum debug level on a global basis * Added support for Pulp repositories, including registering Pulp consumers and binding to repositories * Added ability to disable magic OS groups
* Action: Add "build" attribute to Schema and docsHolger Weiß2011-09-222-0/+2
| | | | | Add the "build" attribute for <Action> entries to the XML Schema and to the documentation.
* schema fixesChris St. Pierre2011-09-202-12/+12
|
* added Defaults pluginChris St. Pierre2011-09-195-46/+129
|
* Schema: Add missing attributes for <BoundPath>sHolger Weiß2011-09-141-0/+3
| | | | Add a few missing attributes to the XML Schema for <BoundPath> entries.
* Fixed GroupPatterns schema to allow multiple NameRange or NamePattern tags ↵Chris St. Pierre2011-08-171-12/+5
| | | | (which was already supported by the code)
* fixed attribute form of genshi keywordsChris St. Pierre2011-08-081-12/+12
|
* Lots of improvements to Packages plugin:Chris St. Pierre2011-08-011-32/+44
| | | | | | | | | | | | | | | | | | | | | | | * Better config handling: Split into packages.conf (which contains one-time configuration directives) and sources.xml (which contains the actual package sources.) The config file looks like a StructFile, and supports <Client> tags and negated Client and Group tags. Packages.Reload (_not_ Refresh) is run on changes to the sources config. tools/packages-convert.py is provided to convert to the new format. * Automagic handling of GPG keys. The new config format handles association of GPG keys go with repos; Packages then Does The Right Thing and gets them to the clients, gets them installed properly, and handles them in the specification. At the moment this only works for yum repos, not APT (see below). * Automatic generation of yum configs using the sources and GPG keys supplied. APT configs are not done yet (see below). * The early vestiges of integration with Pulp (pulpproject.org). Yet to do: * Better support for Pulp; documentation on Pulp integration. * APT support for key handling and config generation.
* bcfg2-lint: Update schema with new vcs valuesSol Jerome2011-07-312-0/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* made info.xml files understand <Path> tags to better set permissions on ↵Chris St. Pierre2011-07-191-0/+3
| | | | altsrc'd files
* Schemas: change client.xsd, allow multiple Client entries in XIncluded fileJonathan Billings2011-07-111-15/+9
| | | | | | | | | | For some reason, using an XIncluded file with more than one Client on my RHEL5 systems would generate an invalid schema, even though it was acceptable to bcfg2-server, and would pass on my Fedora 15 workstation. This change will make bcfg2-lint on RHEL5 accept XIncluded files with more than one Client entry.
* Remove <Package> attribute "reloc" from the docsHolger Weiß2011-07-051-1/+0
| | | | | Remove the "reloc" <Package> attribute from the documentation and from the XML Schema, as it is no longer supported (since commit 7beb2f08d8).
* Allow nested Bundle tags in XML SchemaHolger Weiß2011-07-041-98/+115
| | | | | Nesting Bundle tags is now allowed in order to support XInclude within Bundles.
* New Info attribute: "sensitive"Holger Weiß2011-06-291-0/+1
| | | | | | 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.
* POSIX: Add recursive permissions (Ticket #871)Sol Jerome2011-06-182-0/+2
| | | | | | | 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>
* All Genshi XML tags should be namespace-qualifiedHolger Weiß2011-06-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Allow Bound entries and Client tags in Base SchemaHolger Weiß2011-06-031-9/+13
| | | | | Bound entries and Client tags may also be used in Base/*.xml files, so the XML Schema for Base files must permit these entries.
* schemas: Fix schema for important attributeSol Jerome2011-05-211-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Fixed fileprobes schemaChris St. Pierre2011-05-181-1/+1
|
* doc: Better document PostInstall entriesSol Jerome2011-05-162-0/+14
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Added FileProbes plugin.Chris St. Pierre2011-05-111-0/+34
|
* Rewrote NagiosGen config to use NagiosGen/config.xml, whichChris St. Pierre2011-05-061-0/+31
| | | | | | | | | | | | 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.
* Misc. build fixes:Chris St. Pierre2011-04-211-0/+8503
| | | | | * fixed detection of RHEL version and python Sphinx path * added XSL file to do XSLT transform for build_dtddoc
* added Client tag to StructFile; made PropertyFile inherit from StructFileChris St. Pierre2011-04-142-0/+19
|
* * Made Metadata files validate whether or not XIncludes had been processedChris St. Pierre2011-04-132-1/+46
| | | | | | * bcfg2-repo-validate does not chase XIncludes if --stdin has been specified, but just validates the Metadata files you provide on stdin
* further schema fixesChris St. Pierre2011-04-083-6/+19
|
* A number of schema changes/fixes/updates:Chris St. Pierre2011-04-087-89/+190
| | | | | | | | * 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
* schemas: Build DTD docs, provide -doc subpackage in RPM (Resolves #984)Chris St. Pierre2011-01-271-20/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* schema: Add support for verify attribute (Resolves Ticket #883)Sol Jerome2011-01-231-1/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Support ability to pass parameters to Upstart servicesJoe Digilio2011-01-221-0/+1
|
* POSIX: Remove client-side support for old POSIX typesSol Jerome2010-10-181-26/+0
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* schemas/deps.xsd: Deprecate old configuration entries in Deps schema ↵Sol Jerome2010-10-071-12/+3
| | | | | | | | (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
* Repo validate fails for Path type="ignore"Tim Laszlo2010-09-041-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6050 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Document new knobs and added schema validatorTim Laszlo2010-08-041-5/+14
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6000 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Allow xinclude and add XML error handlingTim Laszlo2010-07-301-8/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5990 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Allow for whitelistingTim Laszlo2010-07-301-3/+7
| | | | | | | 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
* fix bundle schema (reported by gregcoit)Narayan Desai2010-07-081-1/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5960 ce84e21b-d406-0410-9b95-82705330c041
* Add the ability to specify important entries via info/info.xmlSol Jerome2010-06-221-2/+3
| | | | | | | | | | | | 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
* Tighten schema for package entries in Rules (Resolves root cause of #894)Narayan Desai2010-06-211-1/+43
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5945 ce84e21b-d406-0410-9b95-82705330c041
* schemas: Remove old 'restart' attributeSol Jerome2010-06-141-1/+0
| | | | | | 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
* Packages: implement support for recommended packages in APTSourcesNarayan Desai2010-04-171-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5826 ce84e21b-d406-0410-9b95-82705330c041
* Packages: implement blacklist functionalityNarayan Desai2010-04-081-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5809 ce84e21b-d406-0410-9b95-82705330c041
* schemas: Validate nested Group tags in info.xml filesSol Jerome2010-03-071-0/+1
| | | | | | 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