Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Created a new method to return a sorted list of plugins by type. | Mike McCallister | 2011-07-22 | 3 | -41/+60 |
| | | | | | | | | | | | | | | | | | | | | Replaced many list comprehensions in Core.py with a new method named plugins_by_type(), which does the same thing with an added twist: this new method also sorts the list of plugins by a new field named sort_order. It also uses the name of the plugin where the sort_order values are the same. This lets us control the processing sequence of plugins that need to build on the results of a plugin that runs prior to them. The immediate example is Deps, which should run after Packages has generated the full list of packages to be installed. Prior to this commit, it was impossible to control the order in which they ran. A future commit will (hopefully) take advantage of this capability. This commit also splits the Core.validate_data() method into two: one for validate_structures() and one for validate_goals(), instead of passing in a base class and using if logic. This approach seemed a little clearer to me. | ||||
* | Fixed to accommodate changes made to Plugin.py in changeset ↵ | Mike McCallister | 2011-07-22 | 1 | -3/+4 |
| | | | | | | | | | | | 3291a875339a7e5569d4. The changes to the INode.Match() function in changeset 3291a875339a7e5569d4 caused breakage in the Deps plugin, as it inherits from INode. This commit adjusts the definition of the predicate function in Deps.py to mirror the changes made to INode in Plugin.py, eliminating the error about the wrong number of parameters being passed to the lambda function. | ||||
* | doc: Fix duplicate label warnings | Sol Jerome | 2011-07-22 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Chkconfig: Use LANG=C to avoid locale conflicts (Resolves #1028 and #926) | Sol Jerome | 2011-07-22 | 1 | -0/+3 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | bcfg2-admin: Revert some changes that are not py3k compatible | Sol Jerome | 2011-07-21 | 3 | -5/+10 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Miscellaneous bcfg2-admin bug fixes: | Chris St. Pierre | 2011-07-21 | 3 | -36/+33 |
| | | | | | | * Fixed mode argument parsing when a config file is supplied * Fixed loading help messages when Reports is not configured * Improved option parsing; used Bcfg2.Options.OptionParser | ||||
* | as per http://trac.mcs.anl.gov/projects/bcfg2/ticket/1026 | Josh Koenig | 2011-07-20 | 1 | -1/+1 |
| | | | | piping stderr to /dev/null to prevent failure | ||||
* | fixed doc bug | Chris St. Pierre | 2011-07-20 | 1 | -1/+1 |
| | |||||
* | scrub password from error messages | Chris St. Pierre | 2011-07-19 | 1 | -4/+3 |
| | |||||
* | made info.xml files understand <Path> tags to better set permissions on ↵ | Chris St. Pierre | 2011-07-19 | 3 | -18/+36 |
| | | | | altsrc'd files | ||||
* | fixed output from ohai plugin when ohai not installed | Chris St. Pierre | 2011-07-15 | 1 | -1/+0 |
| | |||||
* | added Genshi template syntax checker, other misc. bcfg2-lint cleanup | Chris St. Pierre | 2011-07-14 | 10 | -16/+62 |
| | |||||
* | Fixed typo in Sphinx markup. Should be 'command' instead of 'cmd'. | Mike McCallister | 2011-07-13 | 1 | -1/+1 |
| | |||||
* | Added documentation on how to set up a virtualenv with Bcfg2 code. | Mike McCallister | 2011-07-12 | 1 | -2/+73 |
| | |||||
* | Minor edits to the glossary to make better use of Sphinx formatting. | Mike McCallister | 2011-07-12 | 1 | -8/+14 |
| | | | | Also added missing definition for client. | ||||
* | Minor change to better use Sphinx syntax for environment variables. | Mike McCallister | 2011-07-12 | 3 | -7/+7 |
| | | | | | Has the benefit that environment variable names will now be visible in the documentation index. | ||||
* | doc: Add missing <Service> attribute value | Holger Weiß | 2011-07-11 | 1 | -22/+22 |
| | | | | Add "interactive_only" to the list of supported <Service> mode values. | ||||
* | Schemas: change client.xsd, allow multiple Client entries in XIncluded file | Jonathan Billings | 2011-07-11 | 1 | -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. | ||||
* | made ohai plugin fail gracefully on machines without ohai installed | Chris St. Pierre | 2011-07-11 | 1 | -2/+12 |
| | |||||
* | export.py: Pylint/PEP8 fixes | Sol Jerome | 2011-07-07 | 1 | -78/+109 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Merge branch 'ignore-build-dir' of https://github.com/weiss/bcfg2 | Sol Jerome | 2011-07-07 | 1 | -1/+1 |
|\ | |||||
| * | Add build directory to .gitignore file | Holger Weiß | 2011-07-07 | 1 | -1/+1 |
| | | |||||
* | | doc: Fix build indentation errors | Sol Jerome | 2011-07-07 | 1 | -2/+2 |
| | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | | Revert "Add Environment.py file for building classes to gather env data." | Sol Jerome | 2011-07-07 | 1 | -37/+0 |
| | | | | | | | | | | | | | | | | This reverts commit 146a7a633bc3a36de21f589af0eec10755b0cae5. We don't really need this since we have already solved the version bits using sys.hexversion where needed. Also, this won't work on python3, so we won't be able to use it there. | ||||
* | | Merge branch 'master' of https://github.com/rcuza/bcfg2 | Sol Jerome | 2011-07-07 | 6 | -84/+349 |
|\ \ | |/ |/| | |||||
| * | Add documentation on how to get started with Bcfg2 on Mac OS X (10.6). | Raul Cuza | 2011-07-07 | 1 | -0/+77 |
| | | |||||
| * | Add missing ). | Raul Cuza | 2011-07-07 | 1 | -1/+1 |
| | | |||||
| * | Correct typo in PYVERSION to fix Ticket 1023. | Raul Cuza | 2011-07-07 | 1 | -1/+1 |
| | | |||||
| * | Document versioning conventions used by Bcfg2. | Raul Cuza | 2011-07-07 | 1 | -0/+18 |
| | | |||||
| * | Check length of version['micro'] instead of value. | Raul Cuza | 2011-07-07 | 1 | -1/+1 |
| | | |||||
| * | Add verification that version_info['micro'] is a single digit. | Raul Cuza | 2011-07-07 | 2 | -12/+15 |
| | | | | | | | | | | | | | | | | | | | | Because of restrictions in Mac OS X packaging, Bcfg2's Micro and Minor version numbers must be combined into an integer in the OS X package (IFMinorVersion attribute). In order for this to work, the micro version must be an integer, otherwise we'll run into cases where the· IFMinorVersion will not be in sequence with the Bcfg2 Micro and Minor versions. | ||||
| * | Merge remote-tracking branch 'upstream/master' | Raul Cuza | 2011-07-07 | 2 | -8/+2 |
| |\ | |||||
| * \ | Merge branch 'master' of github.com:rcuza/bcfg2 | Raul Cuza | 2011-07-07 | 0 | -0/+0 |
| |\ \ | |||||
| | * | | Correct typo in version variable. | Raul Cuza | 2011-07-07 | 1 | -1/+1 |
| | | | | |||||
| * | | | Correct typo in version variable. | Raul Cuza | 2011-07-07 | 1 | -1/+1 |
| | | | | |||||
| * | | | Move export2.py ontop of export.py. One export script to rule them all. | Raul Cuza | 2011-07-07 | 2 | -318/+207 |
| |/ / | |||||
| * | | Remove extra whitespace from the debian/changelog entry. | Raul Cuza | 2011-07-07 | 1 | -4/+4 |
| | | | |||||
| * | | Add code to modify osx/Makefile directly so version is no longer discovered. | Raul Cuza | 2011-07-06 | 1 | -1/+9 |
| | | | | | | | | | | | | osx/Makefile will now have the version variables set when the repo is tagged like other package directories. | ||||
| * | | Prepare osx/Makefile to be changed by export2.py | Raul Cuza | 2011-07-06 | 1 | -7/+3 |
| | | | |||||
| * | | Remove unused veriables. | Raul Cuza | 2011-07-06 | 1 | -4/+0 |
| | | | |||||
| * | | Replace minorver with dictionary call. | Raul Cuza | 2011-07-06 | 1 | -3/+3 |
| | | | |||||
| * | | Replace majorver[0:3] with dictionary call. | Raul Cuza | 2011-07-06 | 1 | -2/+2 |
| | | | |||||
| * | | Replace majorver with version_release. | Raul Cuza | 2011-07-06 | 1 | -4/+4 |
| | | | |||||
| * | | Derive majorver and minorver from dictionary; Add debug check. | Raul Cuza | 2011-07-06 | 1 | -8/+24 |
| | | | |||||
| * | | Use sys.version_info instead of string slices to get python version numbers ↵ | Raul Cuza | 2011-07-06 | 1 | -3/+3 |
| |\ \ | | | | | | | | | | | | | (#lessonsFromY2K). | ||||
| | * | | Finish converting find_and_replace calls to use dryrun argument. | Raul Cuza | 2011-07-05 | 1 | -9/+22 |
| | | | | | | | | | | | | | | | | | | | | Set default value to false. Made the find_and_replace calls multilined. | ||||
| | * | | Extend dry-run mode to file replacement | Raul Cuza | 2011-07-05 | 1 | -19/+35 |
| | | | | |||||
| | * | | Add command line options to export tool. | Raul Cuza | 2011-07-05 | 1 | -31/+74 |
| | | | | | | | | | | | | | | | | Run with -h to see all the options. | ||||
| | * | | Exclude compiled python files from the git repository. | Raul Cuza | 2011-07-05 | 1 | -0/+1 |
| | | | | |||||
| | * | | Add Environment.py file for building classes to gather env data. | Raul Cuza | 2011-07-05 | 1 | -0/+37 |
| | | | | | | | | | | | | | | | | | | | | | | | | Includes Pyversion() class which simplifies getting the Python version that Bcfg2 is running under. It is mostly useful for Python 2 and under, since Python 3 has the handy sys.version_info.{major,minor,...} object. |