summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Lots of cleanup for bcfg2-repo-validate rewrite:Chris St. Pierre2011-04-2121-99/+371
| | | | | | | | | * 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
* doc: Document Version tag usageSol Jerome2011-04-201-0/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* doc: Make magic groups documentation clearerSol Jerome2011-04-204-17/+33
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* doc: Highlight the position for the Recommended tagSol Jerome2011-04-201-6/+7
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* fixed duplicate group detection in MetadataChris St. Pierre2011-04-201-2/+1
|
* doc: Correct properties usage (#1005)Sol Jerome2011-04-204-19/+29
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* short-circuit Pkgmgr lint checks if Pkgmgr plugin not enabledChris St. Pierre2011-04-201-0/+4
|
* setup.py: Add new Lint packageSol Jerome2011-04-201-0/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* repo-validate: Recreate as a symlink to bcfg2-lintSol Jerome2011-04-201-0/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Rewrote bcfg2-repo-validate as bcfg2-lint, which uses a pluginChris St. Pierre2011-04-2012-330/+930
| | | | | | | | | 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.
* Add basic support for systemd services.Jeffrey C. Ollie2011-04-191-0/+59
| | | | | | | | To use, add "Systemd" to the "drivers" option in the "client" section of bcfg2.conf on the client. Then, define services on the server like this: <Service name="rabbitmq-server" status="on" reload="restart" type="systemd"/>
* Reports: Fix import error (Reported by emias on IRC)Sol Jerome2011-04-191-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* doc: Fix SSLCA documentationSol Jerome2011-04-151-26/+26
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Merge branch 'master' of https://github.com/solj/bcfg2Chris St. Pierre2011-04-151-1/+0
|\
| * doc: Remove unnecessary step for writing tool driversSol Jerome2011-04-151-1/+0
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | fixed XInclude magic and determination of whether a file is a client or ↵Chris St. Pierre2011-04-151-19/+49
|/ | | | group file
* fixed typo from mergeChris St. Pierre2011-04-141-1/+1
|
* Merge branch 'master' of https://github.com/solj/bcfg2Chris St. Pierre2011-04-145-9/+37
|\
| * doc: Fix some documentation issues (#980)Sol Jerome2011-04-145-9/+37
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | fixed PropertyFile.Index() to populate .data as a side effectChris St. Pierre2011-04-141-1/+37
| |
* | resolved bcfg2-repo-validate conflictsChris St. Pierre2011-04-142-24/+26
|\|
| * Merge branch 'py3k'Sol Jerome2011-04-138-152/+203
| |\
| | * src/sbin: PY3K + PEP8 fixesSol Jerome2011-04-137-150/+201
| | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| | * Init: PEP8 fixesSol Jerome2011-04-131-2/+2
| | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * | man: Update the bcfg2-reports man pageSol Jerome2011-04-135-40/+57
| | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | | only check for multiple default groups if groups.xml is included in validationChris St. Pierre2011-04-141-9/+8
| | |
* | | added Client tag to StructFile; made PropertyFile inherit from StructFileChris St. Pierre2011-04-146-40/+84
| | |
* | | A property file can now have a matching .xsd file (e.g.,Chris St. Pierre2011-04-134-67/+151
|/ / | | | | | | | | | | | | | | "Properties/foo.xml" and "Properties/foo.xsd") which specifies a schema for that property file. bcfg2-repo-validate will check the property file against its schema. Updated bcfg2-repo-validate man page with several new options.
* | Merge branch 'master' of https://github.com/solj/bcfg2Chris St. Pierre2011-04-133-0/+156
|\|
| * VCS: Initial commit (#754)Sol Jerome2011-04-133-0/+156
| | | | | | | | | | | | | | | | | | Preliminary support for version control checkouts onto the client. This client tool is still fairly picky and has some known problems (incorrect git index file, for one). All the abstraction libraries left quite a bit to be desired. Also, none were packaged in popular distributions. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | * Made Metadata files validate whether or not XIncludes had been processedChris St. Pierre2011-04-133-25/+71
|/ | | | | | * bcfg2-repo-validate does not chase XIncludes if --stdin has been specified, but just validates the Metadata files you provide on stdin
* Tools: Skip Installation for mode='manual' services (#965)Sol Jerome2011-04-127-0/+31
| | | | | | | | | This allows for verification of specified services, but skips installation completely when mode is set to manual. This means that incorrect services will still show up in reports, but they won't be modified in an automated way. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Init: Fix SyntaxError (Reported by emias on IRC)Sol Jerome2011-04-121-10/+3
| | | | | | | | Python < 2.6 uses the '0600' format for specifying the mode while 2.6 and later allow the use of '0o600'. Since python 3 forces the latter, we can use the stat module to maintain compatibility with both. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Editor: Add missing comma (Reported by emias)Sol Jerome2011-04-121-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* added next() method to Reports BatchFetch iterator for compatibility with ↵Chris St. Pierre2011-04-121-0/+4
| | | | pre-3.0 versions of python
* repo-validate: Remove unused prefix optionSol Jerome2011-04-111-1/+0
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Reports: Use the newer DATABASES option in settings.pyTim Laszlo2011-04-111-19/+28
|
* Reports: delete orphaned Reasons after the purge command is runTim Laszlo2011-04-111-0/+2
|
* merged upstream changesChris St. Pierre2011-04-111-17/+15
|\
| * Reports: PY3K compatibility fix for PEP 3114Sol Jerome2011-04-091-13/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quoted from PEP 3114: The iterator protocol in Python 2.x consists of two methods: __iter__() called on an iterable object to yield an iterator, and next() called on an iterator object to yield the next item in the sequence. Using a for loop to iterate over an iterable object implicitly calls both of these methods. This PEP proposes that the next method be renamed to __next__, consistent with all the other protocols in Python in which a method is implicitly called as part of a language-level protocol, and that a built-in function named next be introduced to invoke __next__ method, consistent with the manner in which other protocols are explicitly invoked. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * repo-validate: Verify genshi bundle listSol Jerome2011-04-081-19/+17
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Added two flags to bcfg2-repo-validate:Chris St. Pierre2011-04-112-37/+72
|/ | | | | | | | | * --schema allows you to specify a custom path to the XML Schema files * --stdin allows you to specify a list of files on stdin and bcfg2-repo-validate will only validate those files. This is particularly useful to speed up validation checks in post-commit hooks (or similar).
* 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
* PY3K + PEP8 fixes for remaining filesSol Jerome2011-04-079-121/+185
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* testsuite: PY3K + PEP8 fixesSol Jerome2011-04-073-43/+62
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Client: PY3K + PEP8 fixesSol Jerome2011-04-076-50/+88
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-admin: PY3K + PEP8 fixesSol Jerome2011-04-0614-180/+296
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Hostbase: PY3K + PEP8 fixesSol Jerome2011-04-061-35/+44
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Plugins: PY3K + PEP8 fixesSol Jerome2011-04-0617-201/+328
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>