summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* NagiosGen: Allow default configuration via PropertiesTim Laszlo2010-07-161-5/+10
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5974 ce84e21b-d406-0410-9b95-82705330c041
* Initial version of a CVS pluginFabian Affolter2010-07-161-0/+47
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5972 ce84e21b-d406-0410-9b95-82705330c041
* Initial version of a CVS pluginFabian Affolter2010-07-162-2/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5971 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Allow authentication in urlsTim Laszlo2010-07-161-2/+25
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5970 ce84e21b-d406-0410-9b95-82705330c041
* Some comments addedFabian Affolter2010-07-161-2/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5969 ce84e21b-d406-0410-9b95-82705330c041
* Some docstrings addedFabian Affolter2010-07-162-11/+24
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5967 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: Add basic Yum error handling on loadTim Laszlo2010-07-081-3/+13
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5965 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: Use native Yum APITim Laszlo2010-07-081-134/+96
| | | | | | | Patch submitted by Jack Neely. Replaces the Install and Remove methods with code that directly uses the Yum API. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5964 ce84e21b-d406-0410-9b95-82705330c041
* Fix broken regex match for owner and mtimeTim Laszlo2010-07-081-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5963 ce84e21b-d406-0410-9b95-82705330c041
* DBStats: Improved handling of binary objects in the databaseTim Laszlo2010-07-085-6/+25
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5962 ce84e21b-d406-0410-9b95-82705330c041
* Removing old Django modelsTim Laszlo2010-07-083-572/+294
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5961 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Add RawURL support for APT sources (Patch from Remi Broemeling for ↵Sol Jerome2010-06-241-11/+16
| | | | | | | | Ticket #896) Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5958 ce84e21b-d406-0410-9b95-82705330c041
* Add the ability to specify important entries via info/info.xmlSol Jerome2010-06-226-11/+24
| | | | | | | | | | | | We currently have 'important' entries specified only inside the code for various client tools. This provides no room for growing that list outside of adding things to the code itself. With this change, users can now specify important entries via an additional attribute in their info.xml files. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5957 ce84e21b-d406-0410-9b95-82705330c041
* APT: Add more filters for deprecated apt API accesses (Patch from Kioob)Sol Jerome2010-06-211-0/+2
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5955 ce84e21b-d406-0410-9b95-82705330c041
* Updated files to match PEP 257 Fabian Affolter2010-06-214-103/+104
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5951 ce84e21b-d406-0410-9b95-82705330c041
* RPMng, YUMng improvements (patch from slack)Narayan Desai2010-06-212-15/+51
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5944 ce84e21b-d406-0410-9b95-82705330c041
* Slight change to error messageTim Laszlo2010-06-161-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5943 ce84e21b-d406-0410-9b95-82705330c041
* Reduce select timeouts to 2sTim Laszlo2010-06-162-3/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5942 ce84e21b-d406-0410-9b95-82705330c041
* ThreadedStatistics: load/save data on startup/shutdownTim Laszlo2010-06-163-4/+87
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5941 ce84e21b-d406-0410-9b95-82705330c041
* POSIX: Don't install incompletely specified directory entries (Resolves ↵Sol Jerome2010-06-161-1/+9
| | | | | | | | Ticket #884) Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5940 ce84e21b-d406-0410-9b95-82705330c041
* POSIX: Don't set perms for unspecified entries (Resolves ticket #893)Sol Jerome2010-06-161-0/+8
| | | | | | | | | | We were previously setting permissions to '0000' for entries that were incorrectly specified (missing 'perms' attribute). This fixes that and requests the user run bcfg2-repo-validate. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5939 ce84e21b-d406-0410-9b95-82705330c041
* Upstart: Fix bug when installing servicesSol Jerome2010-06-161-6/+6
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5938 ce84e21b-d406-0410-9b95-82705330c041
* Set a timeout on sockets accepted by the serverTim Laszlo2010-06-141-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5937 ce84e21b-d406-0410-9b95-82705330c041
* 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
* 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
* 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-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