summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Initial Bazaar VCS support.David Strauss2009-09-232-0/+46
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5451 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Fix case where item is completely unknown (hence pset is unset) ↵Narayan Desai2009-09-231-2/+3
| | | | | | (Resolves #743) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5450 ce84e21b-d406-0410-9b95-82705330c041
* Packages: make package alternatives work properly when specified (Resolves ↵Narayan Desai2009-09-221-17/+48
| | | | | | Ticket #738) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5449 ce84e21b-d406-0410-9b95-82705330c041
* TGenshi: Ensure backward/forward api compatibility for genshiNarayan Desai2009-09-221-2/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5448 ce84e21b-d406-0410-9b95-82705330c041
* Packages: sort auto-added package entriesNarayan Desai2009-09-221-1/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5447 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Fix extra / inclusion in repomd urls (Resolves Ticket #740)Narayan Desai2009-09-221-1/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5446 ce84e21b-d406-0410-9b95-82705330c041
* Services: Use the 'target' attribute for custom servicesSol Jerome2009-09-211-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5445 ce84e21b-d406-0410-9b95-82705330c041
* Packages: implement config file reloadsNarayan Desai2009-09-181-8/+27
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5444 ce84e21b-d406-0410-9b95-82705330c041
* Xcmd: Improve error handling for unknown rmi methodsNarayan Desai2009-09-182-1/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5443 ce84e21b-d406-0410-9b95-82705330c041
* SSLServer: Fix rmi method exportNarayan Desai2009-09-181-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5442 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-admin xcmd: improve error handling (Resolves Ticket #734)Narayan Desai2009-09-181-1/+15
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5441 ce84e21b-d406-0410-9b95-82705330c041
* SSLServer: don't pass address argument to methods with dotted namesNarayan Desai2009-09-181-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5440 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: refuse to write build output outside of /tmp without -f flag ↵Narayan Desai2009-09-181-3/+11
| | | | | | (Resolves Ticket #737) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5439 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-admin: implement xcmd modeNarayan Desai2009-09-152-1/+37
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5438 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Implement remote cache update callNarayan Desai2009-09-151-0/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5437 ce84e21b-d406-0410-9b95-82705330c041
* SSLServer: Re-implement support for plugin rmi callsNarayan Desai2009-09-151-0/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5436 ce84e21b-d406-0410-9b95-82705330c041
* Proxy: Implement tunable socket timeoutsNarayan Desai2009-09-151-6/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5435 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Add list of packages and dependencies on clientSol Jerome2009-09-152-2/+8
| | | | | | | | | | | Now that we have Packages, it is useful to be able to determine whether your package was specified directly in your configuration or was added by Packages. This commit allows you to view this information in debug mode on the client. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5434 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: Fix traceback when client has no bundlesSol Jerome2009-09-151-1/+2
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5433 ce84e21b-d406-0410-9b95-82705330c041
* Pull.py: Fix traceback for ticket #731Sol Jerome2009-09-141-1/+6
| | | | | | | | | | While the pull mode of bcfg2-admin will not work unless a statistics plugin is enabled, we should not allow it to traceback in the case a user tries to call it without having one enabled. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5432 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: Fix spelling error (Reported by David Strauss)Sol Jerome2009-09-141-2/+2
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5431 ce84e21b-d406-0410-9b95-82705330c041
* FreeBSDInit: Add check to see if we are on a FreeBSD systemSol Jerome2009-09-111-0/+5
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5430 ce84e21b-d406-0410-9b95-82705330c041
* *Genshi: Don't strip whitespace (Resolves Ticket #730)Narayan Desai2009-09-112-3/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5429 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Improve clarity of debug messages (Resolves Ticket #728)Narayan Desai2009-09-101-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5427 ce84e21b-d406-0410-9b95-82705330c041
* Packages: fix typo (Resolves Ticket #726)Narayan Desai2009-09-101-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5426 ce84e21b-d406-0410-9b95-82705330c041
* POSIXCompat: Change name of Compat plugin to POSIXCompatSol Jerome2009-09-093-14/+37
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5425 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Add error message when clients do not match any Packages sources ↵Narayan Desai2009-09-091-0/+3
| | | | | | (Resolves Ticket #723) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5424 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Make Packages handle urls not terminated with /'s properly ↵Narayan Desai2009-09-091-0/+4
| | | | | | (Resolves Ticket #716) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5423 ce84e21b-d406-0410-9b95-82705330c041
* Packages: automatically include placeholder values for version and component ↵Narayan Desai2009-09-091-1/+7
| | | | | | fields of sources git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5422 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: improve showclient displayNarayan Desai2009-09-091-4/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5421 ce84e21b-d406-0410-9b95-82705330c041
* Compat: old clients will not accept entries containing a type attributeSol Jerome2009-09-091-0/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5420 ce84e21b-d406-0410-9b95-82705330c041
* Compat: Fix plugin to generate proper spec for older clientsSol Jerome2009-09-071-7/+11
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5418 ce84e21b-d406-0410-9b95-82705330c041
* POSIX: Add hard link support for ticket #588Sol Jerome2009-09-071-5/+47
| | | | | | | | Add support for HardLink entries using the new unified POSIX interface. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5417 ce84e21b-d406-0410-9b95-82705330c041
* Plugins: Fix svn keywords for ticket #698 (Fix from Mike McCallister)Sol Jerome2009-09-077-9/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5416 ce84e21b-d406-0410-9b95-82705330c041
* POSIX: Replace incorrect SymLinksSol Jerome2009-09-071-5/+11
| | | | | | | | | | We were ignoring existing symlink entries even though they were incorrect. This commit adds the ability for the client to check for incorrect symlinks and replace them if they exist. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5415 ce84e21b-d406-0410-9b95-82705330c041
* POSIX: Add support for unified Path entriesSol Jerome2009-09-074-10/+51
| | | | | | | | | | | This commit adds support for a new Path entry which unifies all the various POSIX entry types. A new plugin is included which will allow you to transform new Path entries back into their old format (for compatibility with old clients). Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5414 ce84e21b-d406-0410-9b95-82705330c041
* SYSV: Fix noask use (Patch via HCoyote)Narayan Desai2009-08-212-7/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5413 ce84e21b-d406-0410-9b95-82705330c041
* POSIX: Add client side support for Path entriesSol Jerome2009-08-171-1/+13
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5411 ce84e21b-d406-0410-9b95-82705330c041
* POSIX: Fix traceback with ConfigFile encoding errors (Ticket #705)Sol Jerome2009-08-171-1/+6
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5410 ce84e21b-d406-0410-9b95-82705330c041
* Actions: Warn user when actions aren't run in dryrun modeSol Jerome2009-08-161-0/+2
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5409 ce84e21b-d406-0410-9b95-82705330c041
* Client tools: Remove unnecessary extra whitespaceSol Jerome2009-08-1616-170/+170
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5408 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Handle file fetch errors (on repo refresh) betterNarayan Desai2009-08-161-2/+7
| | | | | | (reported by m4z) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5407 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: Unify yum pkg specifier creation code (and fix issue reported by ↵Narayan Desai2009-08-141-45/+19
| | | | | | drtns on irc) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5406 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-admin init: Fix __import__ call for python pre 2.5Narayan Desai2009-08-131-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5405 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-repo-validate: Use proper English in error messagesSol Jerome2009-08-121-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5404 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-repo-validate: Fix traceback when reading empty pkgmgr files (Reported ↵Sol Jerome2009-08-121-1/+4
| | | | | | | | by Joe Digilio) Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5403 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Fix make_non_redundant to work with packages with no depsNarayan Desai2009-08-091-1/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5401 ce84e21b-d406-0410-9b95-82705330c041
* Don't run Actions when client is in dryrun modeSol Jerome2009-08-061-11/+14
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5400 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2: Write cached config using encoding from Options.pySol Jerome2009-08-031-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5399 ce84e21b-d406-0410-9b95-82705330c041
* Packages: implement code to determine non-redundant package setNarayan Desai2009-08-011-0/+17
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5398 ce84e21b-d406-0410-9b95-82705330c041