summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Solaris: Packaging updateSol Jerome2009-10-295-117/+113
| | | | | | | | | Update packaging to 1.0rc1. Also, the Makefile now dynamically sets the python version based on the version installed on the machine. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5511 ce84e21b-d406-0410-9b95-82705330c041
* Cfg: Fix diff deltas (Patch from Thomas Schoenl)Narayan Desai2009-10-291-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5510 ce84e21b-d406-0410-9b95-82705330c041
* TGenshi/TCheetah: Set type to 'file' for Path entriesSol Jerome2009-10-272-0/+4
| | | | | | | | | Similar to r5475, we need to set the entry type of templated ConfigFiles so that they are mapped properly by the POSIXCompat plugin. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5509 ce84e21b-d406-0410-9b95-82705330c041
* Proxy: handle case where err has no errno attribute (Resolves Ticket #769)Narayan Desai2009-10-271-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5508 ce84e21b-d406-0410-9b95-82705330c041
* Move python-profiler from Depends to Recommends as interm workaround for ↵Daniel Joseph Barnhart Clark2009-10-273-6/+6
| | | | | | Ticket #767 (new bcfg2 dep python-profiler is non-free) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5507 ce84e21b-d406-0410-9b95-82705330c041
* Packaging: Version bump to 1.0.0rc1Narayan Desai2009-10-264-5/+11
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5505 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: Implement debug script modeNarayan Desai2009-10-261-3/+22
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5504 ce84e21b-d406-0410-9b95-82705330c041
* Reports: Fix django templates so that they work with 1.0Sol Jerome2009-10-243-5/+5
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5503 ce84e21b-d406-0410-9b95-82705330c041
* Reports: Fix order of client listingSol Jerome2009-10-241-4/+4
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5502 ce84e21b-d406-0410-9b95-82705330c041
* Action: Implement per-action toggle to prevent execution in build mode ↵Narayan Desai2009-10-241-0/+4
| | | | | | (Resolves Ticket #747) (can set build='false' in actions to suppress execution in build mode) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5501 ce84e21b-d406-0410-9b95-82705330c041
* Metadata: force pretty-printing of clients file (Resolves Ticket #644)Narayan Desai2009-10-241-1/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5500 ce84e21b-d406-0410-9b95-82705330c041
* Actions: Fix bundle filtering of actions (Resolves Ticket #766)Narayan Desai2009-10-241-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5499 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: pass through verify flags for multi-instance packagesNarayan Desai2009-10-241-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5498 ce84e21b-d406-0410-9b95-82705330c041
* RPMng: Fix package verification when verify=falseNarayan Desai2009-10-241-10/+18
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5497 ce84e21b-d406-0410-9b95-82705330c041
* Metadata: refuse to add dynamic group membership in explicitly private ↵Narayan Desai2009-10-241-1/+8
| | | | | | groups (Resolves Ticket #529) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5496 ce84e21b-d406-0410-9b95-82705330c041
* Proxy: improve error message for SSL key issues (Resolves Ticket #682)Narayan Desai2009-10-241-0/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5495 ce84e21b-d406-0410-9b95-82705330c041
* Proxy: handle case where server disallows connection with an error message ↵Narayan Desai2009-10-241-0/+3
| | | | | | and graceful exit (Resolves Ticket #686) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5494 ce84e21b-d406-0410-9b95-82705330c041
* create-debian-pkglist: support regex based filename matching (Patch from Leif)Narayan Desai2009-10-241-1/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5493 ce84e21b-d406-0410-9b95-82705330c041
* Fix function name in Metadata baseclassNarayan Desai2009-10-221-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5492 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Defer handling of virtual requirements provided by multipleNarayan Desai2009-10-221-2/+17
| | | | | | packages until last possible time (now with 100% less wtf ;) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5491 ce84e21b-d406-0410-9b95-82705330c041
* Packages: simplify package resolution logic (should resolve outstanding ↵Narayan Desai2009-10-211-95/+105
| | | | | | issues with prereq resolution) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5490 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: simplify codepaths for debug modeNarayan Desai2009-10-213-37/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5489 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Remove debug printNarayan Desai2009-10-191-1/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5488 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Add virtual packages properlyNarayan Desai2009-10-191-2/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5487 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: Implement debug mode explicitlySol Jerome2009-10-161-10/+51
| | | | | | | | | | | This commit allows us to explicitly start a debugging console rather than relying on python -i trickery. It also makes the debugging interpreter more consistent with a regular python interpreter. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5486 ce84e21b-d406-0410-9b95-82705330c041
* POSIX: Add support for all new POSIX types in the client codeSol Jerome2009-10-162-4/+54
| | | | | | | | | | | The client should now understand old and new POSIX entries. It is compatible with 0.9.6, 1.0 using POSIXCompat, and new 1.0 Path entries. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5485 ce84e21b-d406-0410-9b95-82705330c041
* Fix incorrect mappings and change configfile type to fileSol Jerome2009-10-163-5/+3
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5484 ce84e21b-d406-0410-9b95-82705330c041
* SYSV fixes: (Resolves Ticket #762) (Patch from ITS Systems Team)Narayan Desai2009-10-161-1/+9
| | | | | | | - Flush noaskfile changes to disk - Handle package names better git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5483 ce84e21b-d406-0410-9b95-82705330c041
* Add bcfg2.conf option so that client can always run in paranoid modeSol Jerome2009-10-143-3/+8
| | | | | | | | | | | You currently must specify the -P command line option in order to run the client in paranoid mode. In order to allow for consistent usage (as specified in ticket #763), this commit adds an option to bcfg2.conf so that the client will always be run in paranoid mode. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5482 ce84e21b-d406-0410-9b95-82705330c041
* Proxy: patch version checking code to work on releases with strings in the ↵Narayan Desai2009-10-121-1/+1
| | | | | | | | names. Patch from Guilhem Lettron (Resolves Ticket #761) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5481 ce84e21b-d406-0410-9b95-82705330c041
* Implement support for M2Crypto on the bcfg2 client.Mike McCallister2009-10-082-19/+133
| | | | | | | | | | | | | | | | | | | | While Python 2.6's ssl module is the way of the future, support for M2Crypto helps the Bcfg2 client run on machines with older versions of Python. This commit provides basic support. More work remains to be done on general SSL support within Bcfg2. Reference the following work-in-progress document (or its successors) for things to consider: http://tools.ietf.org/html/draft-saintandre-tls-server-id-check-02 See also the following thread for other thoughts: http://thread.gmane.org/gmane.comp.sysutils.bcfg2.devel/3563 git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5480 ce84e21b-d406-0410-9b95-82705330c041
* Enhanced bcfg2-info to implement a new "builddir" command.Mike McCallister2009-10-081-0/+81
| | | | | | | | | | | | | | | This new command is similar to the "build" command, except that instead of writing the complete config to a single file, it writes the ConfigFile elements from the config into separate files in their appropriate locations in a directory tree. This is based on the functionality (and implementation) found in the tools/bcfg2-export-config script, which does not currently work due to being out of sync with updates made to Bcfg2 library functions on which it depends. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5479 ce84e21b-d406-0410-9b95-82705330c041
* Perf: Fix syntax errorSol Jerome2009-10-071-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5478 ce84e21b-d406-0410-9b95-82705330c041
* Pylint/PEP 8 Code cleanupsSol Jerome2009-10-0752-289/+381
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5477 ce84e21b-d406-0410-9b95-82705330c041
* Remove GBundler plugin (this functionality already exists in Bundler)Sol Jerome2009-10-072-40/+0
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5476 ce84e21b-d406-0410-9b95-82705330c041
* Cfg: Set type to 'configfile' for Path entriesSol Jerome2009-10-061-2/+4
| | | | | | | | | | When binding Path entries using Cfg, we need to set the entry type to 'configfile' so that the POSIXCompat plugin can properly map it to an old-style entry. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5475 ce84e21b-d406-0410-9b95-82705330c041
* Admin-modes: Implement plugin whitelists/blacklists for modes that don't requireNarayan Desai2009-10-022-2/+11
| | | | | | | a full server Viz : Use the new blacklist option to speed up viz performance git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5474 ce84e21b-d406-0410-9b95-82705330c041
* Viz: remove spurious raise SystemExitNarayan Desai2009-10-021-1/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5473 ce84e21b-d406-0410-9b95-82705330c041
* Fix nasty core hang, which would manifest itself as a lockup upon shutdown ↵Narayan Desai2009-10-024-3/+16
| | | | | | | | | | | | | | | | | | | for bcfg2-{server,info,admin} The root cause of this issue was our use of external threads. Without a channel for data requesting plugin (and hence thread) shutdown, plugin threads would continue, unabated, forever. This would cause the python interpreter to hang forever waiting for a futex. Added a new shutdown method to Bcfg2.Server.Plugin.Plugin which sets a state flag upon shutdown request. Plugin threads must cycle periodically, even if no work is available, to ensure that the shutdown flag is honored in a reasonable amount of time. Also, the shutdown method is triggered using atexit. This means that scripts may need to explicitly sys.exit or raise SystemExit, depending on circumstances. This addresses at least one, but probably more tickets, however I am currently offline. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5472 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2.init: Fix case statement for ticket #752 (Patch from Travis Campbell)Sol Jerome2009-10-021-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5471 ce84e21b-d406-0410-9b95-82705330c041
* POSIX: Add block/character/fifo devices (ticket #477)Sol Jerome2009-10-015-23/+112
| | | | | | | | | | This commit adds support for posix device types via Path entries in Bundler. The 'type' attribute for Path entries is now all lowercase. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5470 ce84e21b-d406-0410-9b95-82705330c041
* schema: Add description attribute for Bundles (ticket #689)Sol Jerome2009-09-291-0/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5469 ce84e21b-d406-0410-9b95-82705330c041
* Client Frame: Do not run updates for unspecified bundles (Fix for ticket #751)Sol Jerome2009-09-281-10/+13
| | | | | | | | | | | Do not allow client tool drivers to be called for bundles which are not specified when running in bundle mode (-b). I believe this case only shows up for Actions run always currently, however, we should keep the interface consistent and ignore unspecified bundles completely. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5468 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: Fix bulk package removal backtrace (Resolves Ticket #749)Narayan Desai2009-09-281-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5467 ce84e21b-d406-0410-9b95-82705330c041
* schema: Add schema for Path entriesSol Jerome2009-09-263-0/+34
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5466 ce84e21b-d406-0410-9b95-82705330c041
* Changed name and implementation to "bcfg2-server" so that the serverMike McCallister2009-09-261-2/+2
| | | | | | | logs to syslog as "bcfg2-server". git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5465 ce84e21b-d406-0410-9b95-82705330c041
* POSIX: Add support for nonexistent Path entry typesSol Jerome2009-09-263-7/+27
| | | | | | | | | | Allow specification of Path entries which should not exist on the client. This gives the user the ability to explicitly remove Path entries if they exist on the client. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5464 ce84e21b-d406-0410-9b95-82705330c041
* Schema: Add restart attribute to the servicetype schemaSol Jerome2009-09-251-0/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5463 ce84e21b-d406-0410-9b95-82705330c041
* Added Fossil to Plugins init and Fossil and Bzr to man 5 bcfg2.confDaniel Joseph Barnhart Clark2009-09-252-0/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5462 ce84e21b-d406-0410-9b95-82705330c041
* Bcfg2 man page: Keep ordering of options consistentSol Jerome2009-09-241-3/+3
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5461 ce84e21b-d406-0410-9b95-82705330c041