summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Core: Raise error on failed lxml import (Reported by Raul Cuza on IRC)Sol Jerome2011-05-051-1/+5
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* made bcfg2-lint error handling configurable on a much more granular levelChris St. Pierre2011-05-059-96/+197
|
* Packages: Solve byte string incompatibility in a different waySol Jerome2011-05-031-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Common: Fixes to get server to start with PY3KSol Jerome2011-05-032-25/+26
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Plugins: Handle builtin file type for PY3KSol Jerome2011-05-032-10/+19
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Fix regressions with new py3k codeSol Jerome2011-05-032-1/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2: Fix typosSol Jerome2011-04-291-2/+2
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> (cherry picked from commit beb08649193f2c799017024bb738dc31b3420cb2)
* Client/Tools: Get rid of popen2 (in favor of subprocess)Sol Jerome2011-04-281-45/+7
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Py3k Compat: Add fixes for various importsSol Jerome2011-04-271-8/+43
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Fix some syntax issuesSol Jerome2011-04-272-3/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* src/sbin: Add full PY3K compatibilitySol Jerome2011-04-278-109/+128
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Common: Add full PY3K compatibilitySol Jerome2011-04-277-30/+45
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Admin: Add full PY3K compatibilitySol Jerome2011-04-267-15/+31
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Reports: Fix settings parserSol Jerome2011-04-261-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Snapshots: Fix missing colon (Reported by emias on IRC)Sol Jerome2011-04-261-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Plugins: Fix import and indent errorsSol Jerome2011-04-262-1/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Plugins: Add full PY3K compatibilitySol Jerome2011-04-2620-76/+169
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Consolidate PY3K compatibility librariesSol Jerome2011-04-265-9/+19
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Reports: Add full PY3K compatibilitySol Jerome2011-04-268-20/+62
| | | | | | | | Note that Django still doesn't yet support version 3 so this won't necessarily work until there is a compatible version of django available for use. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Better error messages when Svn2 fails for predictable reasonsChris St. Pierre2011-04-261-10/+34
| | | | Other misc. Svn2 tweaks and fixes
* SvcTools: Change return from mode="manual" to false so the entries report a ↵Tim Laszlo2011-04-256-6/+6
| | | | Bad state
* SvcTool: adding interactive_only modeTim Laszlo2011-04-251-1/+3
|
* Version bump to 1.2.0pre2v1.2.0pre2Sol Jerome2011-04-251-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Merge remote-tracking branch 'upstream/master' into removefixJonathan Billings2011-04-254-107/+117
|\
| * 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
* | Fix the bcfg2 client -r optionJonathan Billings2011-04-252-3/+8
|/ | | | | | | The man page for 'bcfg2' says to use -r 'all', 'Service' or 'Package', but the code only responded to -r 'all', 'service' or 'package'. Update the client to allow 'all', 'service', 'Service', 'package' and 'Package'.
* changed [main] section of bcfg2-lint.conf to [lint] to make it possible to ↵Chris St. Pierre2011-04-251-6/+2
| | | | | | combine config files get full stack trace from failed plugins for easier troubleshooting
* Misc. bcfg2-lint fixes and tweaks:Chris St. Pierre2011-04-214-10/+15
| | | | | | * 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-213-21/+24
| | | | | | | | | * 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
* fixed duplicate group detection in MetadataChris St. Pierre2011-04-201-2/+1
|
* short-circuit Pkgmgr lint checks if Pkgmgr plugin not enabledChris St. Pierre2011-04-201-0/+4
|
* 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-2011-330/+910
| | | | | | | | | 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>
* 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
|
* fixed PropertyFile.Index() to populate .data as a side effectChris St. Pierre2011-04-141-1/+37
|
* resolved bcfg2-repo-validate conflictsChris St. Pierre2011-04-141-4/+5
|\
| * 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>
* | | 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-142-19/+25
| | |
* | | A property file can now have a matching .xsd file (e.g.,Chris St. Pierre2011-04-132-65/+111
|/ / | | | | | | | | | | | | | | "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-131-0/+137
|\|
| * VCS: Initial commit (#754)Sol Jerome2011-04-131-0/+137
| | | | | | | | | | | | | | | | | | 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-131-24/+25
|/ | | | | | * 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-126-0/+30
| | | | | | | | | 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>