summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add /etc/yum.repos.d to the important list for YUMngTim Laszlo2010-06-141-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5929 ce84e21b-d406-0410-9b95-82705330c041
* Added missing configuration entitiesFabian Affolter2010-06-141-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5928 ce84e21b-d406-0410-9b95-82705330c041
* Call Core.shutdown explicitly when the XMLRPCServer exists. Fixes server ↵Tim Laszlo2010-06-112-3/+5
| | | | | | hang on lucid git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5925 ce84e21b-d406-0410-9b95-82705330c041
* Prevent Logger.py from throwing execptions when unable to connect to the loggerTim Laszlo2010-06-111-2/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5924 ce84e21b-d406-0410-9b95-82705330c041
* Prevent bcfg2-server from hanging on exit when the Pseudo FileMonitor is usedTim Laszlo2010-06-111-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5923 ce84e21b-d406-0410-9b95-82705330c041
* Typo in bcfg2-reportsTim Laszlo2010-06-111-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5922 ce84e21b-d406-0410-9b95-82705330c041
* Added new bcfg2-admin bundle list part Fabian Affolter2010-06-102-15/+78
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5921 ce84e21b-d406-0410-9b95-82705330c041
* APT: Fix nonexistent Path verification failures (Reported by Remi Broemeling)Sol Jerome2010-06-101-0/+6
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5919 ce84e21b-d406-0410-9b95-82705330c041
* tabs -> spacesSol Jerome2010-06-104-10/+10
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* MacPorts/Portage: Fix indentation errorsSol Jerome2010-06-102-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Updated files to match PEP 257 Fabian Affolter2010-06-0930-125/+140
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5904 ce84e21b-d406-0410-9b95-82705330c041
* Updated files to match PEP 257 Fabian Affolter2010-06-093-40/+54
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5903 ce84e21b-d406-0410-9b95-82705330c041
* Darcs addedFabian Affolter2010-06-091-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5902 ce84e21b-d406-0410-9b95-82705330c041
* repo-validate: Warn when missing attributes for Path entriesSol Jerome2010-06-071-0/+33
| | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
* Updated files to match PEP 257Fabian Affolter2010-06-076-24/+40
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5899 ce84e21b-d406-0410-9b95-82705330c041
* Updated files to match PEP 257Fabian Affolter2010-06-072-15/+16
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5898 ce84e21b-d406-0410-9b95-82705330c041
* Updated files to match PEP 257Fabian Affolter2010-06-0720-180/+182
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5897 ce84e21b-d406-0410-9b95-82705330c041
* Updated files to match PEP 257Fabian Affolter2010-06-071-4/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5896 ce84e21b-d406-0410-9b95-82705330c041
* Updated files to match PEP 257Fabian Affolter2010-06-078-55/+66
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5895 ce84e21b-d406-0410-9b95-82705330c041
* Updated files to match PEP 257Fabian Affolter2010-06-076-30/+29
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5894 ce84e21b-d406-0410-9b95-82705330c041
* Added init command to bcfg2-admin reportsTim Laszlo2010-06-071-0/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5893 ce84e21b-d406-0410-9b95-82705330c041
* updatefix.py doesn't load initial database version for django 1.*Tim Laszlo2010-06-071-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5892 ce84e21b-d406-0410-9b95-82705330c041
* Performance improvements for bcfg2-admin reports scrub.Tim Laszlo2010-06-072-14/+41
| | | | | | | Switched object updates to executemany statements. Added BatchFetch to retreive Django objects in groups. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5891 ce84e21b-d406-0410-9b95-82705330c041
* Switching Statistics.py to ThreadedStatisticsTim Laszlo2010-06-071-19/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5890 ce84e21b-d406-0410-9b95-82705330c041
* Added ThreadedStatistics plugin class. Migrated DBStats to use ↵Tim Laszlo2010-06-072-7/+38
| | | | | | ThreadedStatistics. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5889 ce84e21b-d406-0410-9b95-82705330c041
* Threaded Statistics.py and fixed xml corruptionTim Laszlo2010-06-041-5/+19
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5888 ce84e21b-d406-0410-9b95-82705330c041
* Switch location to hostname. Urls break things.Tim Laszlo2010-06-042-11/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5887 ce84e21b-d406-0410-9b95-82705330c041
* Initial version of admin tool for reportsTim Laszlo2010-06-032-1/+190
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5886 ce84e21b-d406-0410-9b95-82705330c041
* Performance updates to dynamic reportsTim Laszlo2010-06-037-60/+140
| | | | | | | | | | | | | | | | | Added bad_entries, modified_entries, extra_entries database fields to reduce the number of calls. Created (bad|modified|extra)_entry_count methods to return the sbove fields and populate any missing values. Consolidate interaction_per_client query. Added unique constraint on client_id and timestamp in Interaction. Greatly improved the performance of interaction_per_client. Modified detailed-list.html to add modified field and reduce the database calls to two... unless the bad_entries, modified_entries, extra_entries fields need updating. Modified client index to use only two database queries. Adding automatic update Updating load_stats to update counters in reports_interaction git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5885 ce84e21b-d406-0410-9b95-82705330c041
* Added experimental tagFabian Affolter2010-06-032-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5882 ce84e21b-d406-0410-9b95-82705330c041
* Experimental Darcs plugin addedFabian Affolter2010-06-031-0/+48
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5881 ce84e21b-d406-0410-9b95-82705330c041
* Standardized doc strings of the VCS pluginsFabian Affolter2010-06-034-5/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5880 ce84e21b-d406-0410-9b95-82705330c041
* Comment addedFabian Affolter2010-06-013-0/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5872 ce84e21b-d406-0410-9b95-82705330c041
* Assoicated elements only displays current elementTim Laszlo2010-06-011-3/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5871 ce84e21b-d406-0410-9b95-82705330c041
* Fragmenting Syslogger logs backwardsTim Laszlo2010-05-261-2/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5869 ce84e21b-d406-0410-9b95-82705330c041
* Add option to log importscript.py messages to syslogTim Laszlo2010-05-261-9/+13
| | | | | | | Since we need the ability to do this for DBStats.py it doesn't hurt to add this if importscript.py runs with statistics.xml data. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5868 ce84e21b-d406-0410-9b95-82705330c041
* Use logging instead of print statements in importscript.pyTim Laszlo2010-05-262-13/+22
| | | | | | | | Switch from print statements to the standard Logger.py functions. This allows load_stats in importscript.py to log error messages when daemonized. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5867 ce84e21b-d406-0410-9b95-82705330c041
* DBStats: Handle errors in load_statsTim Laszlo2010-05-261-8/+14
| | | | | | | | If any of the sql database insertsor selects failed, the all of the data for the client at that point was lost. This uses an empty Reason object to preserve the rest of the data. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5866 ce84e21b-d406-0410-9b95-82705330c041
* Fixed XPath error with lxml 1.2.1Tim Laszlo2010-05-251-2/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5864 ce84e21b-d406-0410-9b95-82705330c041
* Terminate fam thread on shutdownTim Laszlo2010-05-241-2/+6
| | | | | | | | | When the bcfg2-server exits the fam thread is left running which hangs the process on exit. Resolves Ticket #709 git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5863 ce84e21b-d406-0410-9b95-82705330c041
* Hg: New Mercurial plugin from Fabian AffolterSol Jerome2010-05-222-0/+47
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5862 ce84e21b-d406-0410-9b95-82705330c041
* reports: Fixes for Tickets #833 and #885Sol Jerome2010-05-203-7/+8
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5861 ce84e21b-d406-0410-9b95-82705330c041
* Chkconfig: Fix supervised mode status='off' behavior (Patch from Mathieu Jobin)Sol Jerome2010-05-181-9/+17
| | | | | | Fixes issue reported in Ticket #846. Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
* bcfg2-info: Add patch from Fabian AffolterSol Jerome2010-05-041-3/+3
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5853 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: Add support for Path type='ignore' entriesSol Jerome2010-04-302-2/+21
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5851 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: make yumng robust again virtual package specs (patch from slack)Narayan Desai2010-04-301-7/+26
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5849 ce84e21b-d406-0410-9b95-82705330c041
* Upstart: Fix traceback for non-upstart services (Resolves Ticket #878)Sol Jerome2010-04-291-2/+7
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5847 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: Fix list comprehension traceback (Reported by Jonathan Billings) [bugfix]Sol Jerome2010-04-291-2/+2
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5844 ce84e21b-d406-0410-9b95-82705330c041
* Core: Allow the specification of plugin conflicts (Fix for Ticket #875)Sol Jerome2010-04-243-0/+14
| | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
* Frame.py: Fix handling of ^C on CentOS 5Sol Jerome2010-04-221-0/+3
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5835 ce84e21b-d406-0410-9b95-82705330c041