summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Snapshots: implement rudimentary reports cmd line interface (partially from ↵Narayan Desai2009-03-251-14/+47
| | | | | | SolJ) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5142 ce84e21b-d406-0410-9b95-82705330c041
* Snapshots: initialize snap -> client linkage properlyNarayan Desai2009-03-251-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5141 ce84e21b-d406-0410-9b95-82705330c041
* Clarify priority conflict error messageSol Jerome2009-03-231-3/+5
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5140 ce84e21b-d406-0410-9b95-82705330c041
* Snapshots: add db url support for mysql and postgresNarayan Desai2009-03-231-1/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5139 ce84e21b-d406-0410-9b95-82705330c041
* Snapshots: fix more of the admin interface (including some of Sol's diffs)Narayan Desai2009-03-211-6/+19
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5136 ce84e21b-d406-0410-9b95-82705330c041
* Snapshots: Fix extra entry data importNarayan Desai2009-03-211-3/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5135 ce84e21b-d406-0410-9b95-82705330c041
* Snapshots: add modeling for administrator-to-client/group mappingsNarayan Desai2009-03-211-1/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5134 ce84e21b-d406-0410-9b95-82705330c041
* Add revision and correct fields to snapshot class; should simplify most queriesNarayan Desai2009-03-212-3/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5133 ce84e21b-d406-0410-9b95-82705330c041
* launchd update for 10.5 (patch from Kamil Kisiel)Sol Jerome2009-03-191-0/+15
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5132 ce84e21b-d406-0410-9b95-82705330c041
* Plugin.py: unify predicatesNarayan Desai2009-03-191-4/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5131 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: Switch to yum lib calls instead of parsing command output (thanks to ↵Narayan Desai2009-03-191-19/+11
| | | | | | Seth for pointers) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5130 ce84e21b-d406-0410-9b95-82705330c041
* Fix negate attribute for ticket #648Sol Jerome2009-03-191-2/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5129 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Implement full yum dep resolver and improve error handlingNarayan Desai2009-03-191-78/+217
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5127 ce84e21b-d406-0410-9b95-82705330c041
* Remove some FIXMEs in bcfg2-admin initSol Jerome2009-03-161-10/+15
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5124 ce84e21b-d406-0410-9b95-82705330c041
* Cfg: delta file regex bugfixNarayan Desai2009-03-161-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5119 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: implement version=auto/any supportNarayan Desai2009-03-132-17/+74
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5118 ce84e21b-d406-0410-9b95-82705330c041
* Update for properties switchNarayan Desai2009-03-101-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5117 ce84e21b-d406-0410-9b95-82705330c041
* Raise exception when cached files do not existSol Jerome2009-03-091-0/+1
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5116 ce84e21b-d406-0410-9b95-82705330c041
* Remove busy-wait for coalescing altogetherNarayan Desai2009-03-091-7/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5114 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-info: add option trace file option for profiling modeNarayan Desai2009-03-091-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5113 ce84e21b-d406-0410-9b95-82705330c041
* Reduce event coalesing threshold (Substantially reduces core initialization ↵Narayan Desai2009-03-091-1/+1
| | | | | | time) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5112 ce84e21b-d406-0410-9b95-82705330c041
* Implement profiler mode for bcfg2-infoNarayan Desai2009-03-091-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5111 ce84e21b-d406-0410-9b95-82705330c041
* Fix tb in Viz (Reported by Michael Jinks)Sol Jerome2009-03-071-2/+2
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5110 ce84e21b-d406-0410-9b95-82705330c041
* Snapshots: Add some convenience functions for getting access to latest snapshotNarayan Desai2009-03-062-4/+15
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5109 ce84e21b-d406-0410-9b95-82705330c041
* Snapshots: Finish off importer (for old-style statistics)Narayan Desai2009-03-062-33/+73
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5108 ce84e21b-d406-0410-9b95-82705330c041
* Snapshots: undo last commitNarayan Desai2009-03-051-2/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5107 ce84e21b-d406-0410-9b95-82705330c041
* Snapshots: improve generality of the importerNarayan Desai2009-03-051-1/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5106 ce84e21b-d406-0410-9b95-82705330c041
* Snapshots: improve generality of the importerNarayan Desai2009-03-052-55/+51
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5105 ce84e21b-d406-0410-9b95-82705330c041
* one more init fixNarayan Desai2009-03-041-3/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5102 ce84e21b-d406-0410-9b95-82705330c041
* one more timeNarayan Desai2009-03-041-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5101 ce84e21b-d406-0410-9b95-82705330c041
* one more fixNarayan Desai2009-03-041-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5100 ce84e21b-d406-0410-9b95-82705330c041
* fix init (i think)Narayan Desai2009-03-041-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5099 ce84e21b-d406-0410-9b95-82705330c041
* Add Snapshots to __init__Sol Jerome2009-03-041-2/+2
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5097 ce84e21b-d406-0410-9b95-82705330c041
* Get Snapshots working for Service entriesNarayan Desai2009-03-032-22/+48
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5095 ce84e21b-d406-0410-9b95-82705330c041
* remove dead code from the snapshots modelNarayan Desai2009-03-021-7/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5094 ce84e21b-d406-0410-9b95-82705330c041
* add db creation command to snapshots admin modeNarayan Desai2009-03-021-0/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5093 ce84e21b-d406-0410-9b95-82705330c041
* Snapshots update - storage of packages works from clients (old-style statistics)Narayan Desai2009-03-025-11/+140
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5092 ce84e21b-d406-0410-9b95-82705330c041
* Fix newlinks at the end of .cat filesNarayan Desai2009-03-021-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5091 ce84e21b-d406-0410-9b95-82705330c041
* os.popen is deprecated in 2.6 (http://docs.python.org/library/os.html#os.popen)Sol Jerome2009-02-205-28/+47
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5088 ce84e21b-d406-0410-9b95-82705330c041
* Ask before overwriting existing bcfg2 repos in bcfg2-admin initSol Jerome2009-02-191-22/+30
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5087 ce84e21b-d406-0410-9b95-82705330c041
* Remove old vcs optionSol Jerome2009-02-191-3/+1
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5085 ce84e21b-d406-0410-9b95-82705330c041
* Fix interpreter regex (Patch from Kamil Kisiel)Sol Jerome2009-02-181-1/+1
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5084 ce84e21b-d406-0410-9b95-82705330c041
* start passing bind failure information to clientsNarayan Desai2009-02-181-0/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5083 ce84e21b-d406-0410-9b95-82705330c041
* Implement improved client-side error checking (will allow better error ↵Narayan Desai2009-02-182-1/+23
| | | | | | messages in cases of bind failures, etc) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5082 ce84e21b-d406-0410-9b95-82705330c041
* Snapshots: (hopefully) final correspondence type updatesNarayan Desai2009-02-171-12/+15
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5081 ce84e21b-d406-0410-9b95-82705330c041
* Snapshots: put finishing touches on the modelNarayan Desai2009-02-171-13/+32
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5080 ce84e21b-d406-0410-9b95-82705330c041
* Snapshots: Implement metadata loads and basic row de-duplicationNarayan Desai2009-02-161-18/+55
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5079 ce84e21b-d406-0410-9b95-82705330c041
* todo update for snapshots modelNarayan Desai2009-02-131-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5078 ce84e21b-d406-0410-9b95-82705330c041
* add active flag to client datatypeNarayan Desai2009-02-131-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5077 ce84e21b-d406-0410-9b95-82705330c041
* Initial Snapshots checkinNarayan Desai2009-02-123-2/+138
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5076 ce84e21b-d406-0410-9b95-82705330c041