summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Lint
Commit message (Collapse)AuthorAgeFilesLines
* * Added support for yum libraries (if available and configured). ThisChris St. Pierre2011-10-071-13/+13
| | | | | | | | | | | | | | | | | | 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
* bcfg2-lint: Honor the "empty" attributeHolger Weiß2011-09-211-1/+2
| | | | | When checking <Path type="file"> entries, don't complain about missing text if the "empty" attribute is set to true.
* bug fix : pop vs. removeChris St. Pierre2011-09-211-1/+1
|
* added Defaults pluginChris St. Pierre2011-09-194-48/+75
|
* fixed bugs introduced by <Group>/<Client> tags in templated bundlesChris St. Pierre2011-09-153-6/+4
|
* don't try to wrap bcfg2-lint output if it's not connected to a ttyChris St. Pierre2011-08-051-6/+15
|
* fixed typos in RequiredAttrs.check_packages()Chris St. Pierre2011-08-051-2/+2
|
* fixed traceback from unknown-path-type errorsChris St. Pierre2011-08-031-0/+1
|
* fixed path to Packages config in Lint/Validate.pyChris St. Pierre2011-08-011-1/+1
|
* Lots of improvements to Packages plugin:Chris St. Pierre2011-08-012-0/+30
| | | | | | | | | | | | | | | | | | | | | | | * 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-311-1/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-lint RequiredAttrs plugin checks for text content of "file" PathsChris St. Pierre2011-07-281-0/+7
|
* added Genshi template syntax checker, other misc. bcfg2-lint cleanupChris St. Pierre2011-07-1410-16/+62
|
* updated Lint.Comments for new properties XML handlingChris St. Pierre2011-06-171-1/+1
|
* Validate: Create and use new error type for missing schemasSol Jerome2011-06-062-2/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Validate: Unsuppress errors for invalid schema paths (#1007)Sol Jerome2011-06-051-2/+8
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* removed debugging output from Validate pluginChris St. Pierre2011-05-201-3/+0
|
* fixed several major bugs in bcfg2-lint Validate pluginChris St. Pierre2011-05-181-6/+10
|
* added bcfg2-lint MergeFiles plugin to suggest config files and probesChris St. Pierre2011-05-172-10/+104
| | | | | | that are very similar and could be merged added text wrapping to bcfg2-lint error handling
* Added FileProbes plugin.Chris St. Pierre2011-05-111-1/+3
|
* Fixed error messages from info.xml bcfg2-lint checkChris St. Pierre2011-05-111-5/+5
|
* Rewrote NagiosGen config to use NagiosGen/config.xml, whichChris St. Pierre2011-05-061-1/+2
| | | | | | | | | | | | 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.
* made bcfg2-lint error handling configurable on a much more granular levelChris St. Pierre2011-05-058-65/+143
|
* unexpanded vcs keywords raise warning, not errorChris St. Pierre2011-04-251-2/+2
|
* Various bcfg2-lint fixes:Chris St. Pierre2011-04-254-105/+115
| | | | | | | | * check for all plugins before referencing them, since in --stdin mode even plugins like Bundler may not be instantiated * formatting fixes * made Bundles plugin work with or without genshi installed * fixed name of plugin in example bcfg2-lint.conf
* Misc. bcfg2-lint fixes and tweaks:Chris St. Pierre2011-04-213-6/+4
| | | | | | * fixed bcfg2-lint bug with older pythons * made bcfg2-lint silent by default on success * adjusted bcfg2-lint defaults and alerting levels to work better out-of-the-box
* Lots of cleanup for bcfg2-repo-validate rewrite:Chris St. Pierre2011-04-211-4/+8
| | | | | | | | | * Changed all references to bcfg2-repo-validate in the documentation to bcfg2-lint * Wrote man pages for bcfg2-lint and bcfg2-lint.conf * Cleaned up straggling references to bcfg2-repo-validate in Makefiles, spec files, and the POSIX tool * A few minor bug fixes
* short-circuit Pkgmgr lint checks if Pkgmgr plugin not enabledChris St. Pierre2011-04-201-0/+4
|
* Rewrote bcfg2-repo-validate as bcfg2-lint, which uses a pluginChris St. Pierre2011-04-208-0/+733
interface to be lots more flexible and extensible. Added several more tests. If bcfg2-lint is run as bcfg2-repo-validate, it roughly emulates the functionality of that program. TODO: Need to figure out correct way to symlink bcfg2-repo-validate to bcfg2-lint on install.