summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Version bump to 1.0.0Narayan Desai2009-11-051-1/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5553 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-admin init: autogenerate self-signed cert for the serverNarayan Desai2009-11-051-11/+25
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5549 ce84e21b-d406-0410-9b95-82705330c041
* APT: suppress apt driver api warningsNarayan Desai2009-11-051-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5546 ce84e21b-d406-0410-9b95-82705330c041
* Packages: only log explicit packages that are unsatisfiedNarayan Desai2009-11-051-2/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5544 ce84e21b-d406-0410-9b95-82705330c041
* Snapshots: handle client traceback when called with bad optionsNarayan Desai2009-11-051-0/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5542 ce84e21b-d406-0410-9b95-82705330c041
* Bzr: Use faster method to detect changes in the working tree. Also, look for ↵David Strauss2009-11-051-1/+1
| | | | | | unknown items. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5541 ce84e21b-d406-0410-9b95-82705330c041
* Bzr: Finally use the bzrlib API for real. This is much cleaner, and it ↵David Strauss2009-11-051-21/+11
| | | | | | should end any interprocess communication issues. Because it's easy, also append a plus sign if there are local changes to the working tree. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5540 ce84e21b-d406-0410-9b95-82705330c041
* Bzr: Fix hang on second and susequent calls.David Strauss2009-11-051-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5539 ce84e21b-d406-0410-9b95-82705330c041
* Use proper logging for snapshot storage time.David Strauss2009-11-051-1/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5538 ce84e21b-d406-0410-9b95-82705330c041
* Bzr: Strip newline from end of revision number.David Strauss2009-11-051-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5537 ce84e21b-d406-0410-9b95-82705330c041
* Snapshots: Add missing datafields for Directory and SymLink to match listed ↵David Strauss2009-11-051-2/+3
| | | | | | ftypes. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5536 ce84e21b-d406-0410-9b95-82705330c041
* Core: Fix typoNarayan Desai2009-11-051-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5531 ce84e21b-d406-0410-9b95-82705330c041
* DBStats: Fix data eating / Core: revert copy changeNarayan Desai2009-11-052-3/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5530 ce84e21b-d406-0410-9b95-82705330c041
* Core: Only pass copies of statistics objects to stats plugins (Reported by ↵Narayan Desai2009-11-051-1/+2
| | | | | | davidstrauss) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5529 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-admin init: prompt in case of pre-existing bcfg2.conf (Resolves Ticket ↵Narayan Desai2009-11-051-11/+13
| | | | | | #777) (patch from cory lueninghoener) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5528 ce84e21b-d406-0410-9b95-82705330c041
* RPMng: Fix modlist usage (resolves verification issue reported by drtns)Narayan Desai2009-11-051-3/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5527 ce84e21b-d406-0410-9b95-82705330c041
* Gentoo: Fix RemovePackages() so that packages can be removedSol Jerome2009-11-051-4/+3
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5526 ce84e21b-d406-0410-9b95-82705330c041
* Metadata: fix lxml api use to work with older versionsNarayan Desai2009-11-051-3/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5525 ce84e21b-d406-0410-9b95-82705330c041
* Moved launchd plist cache to __init__ function.Kamil Kisiel2009-11-031-21/+24
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5524 ce84e21b-d406-0410-9b95-82705330c041
* Added checks for Snow Leopard (10.6) to launchd client toolKamil Kisiel2009-11-021-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5523 ce84e21b-d406-0410-9b95-82705330c041
* Greatly sped up launchd client tool. Also made services reload correctly.Kamil Kisiel2009-11-021-25/+33
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5522 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: remove call to yum api that breaks plugin use (Resolves Ticket #765)Narayan Desai2009-10-301-2/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5517 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: fix traceback when python-profiler is not available (see Ticket ↵Narayan Desai2009-10-301-4/+13
| | | | | | #767 for details) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5516 ce84e21b-d406-0410-9b95-82705330c041
* POSIX: File file comparison in cases where unicode mismatches occur ↵Narayan Desai2009-10-301-1/+0
| | | | | | (Resolves Ticket #772) (Patch from Nicolas Dandrimont) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5514 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
* 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
* 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-161-3/+48
| | | | | | | | | | | 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-142-3/+4
| | | | | | | | | | | 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