summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
Commit message (Collapse)AuthorAgeFilesLines
* web reports: new skinTim Laszlo2010-10-1434-1079/+1773
|
* Pull: Fix help message formattingSol Jerome2010-10-111-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Packages: fix is_pkg breakageNarayan Desai2010-09-271-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6077 ce84e21b-d406-0410-9b95-82705330c041
* DBStats: Purge historic data and expired clientsTim Laszlo2010-09-262-1/+199
| | | | | | | Adds a purge command to bcfg2-admin reports to permanently remove interactions and clients. Extends bcfg2-admin scrub to remove orphaned Reason and Entries objects. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6070 ce84e21b-d406-0410-9b95-82705330c041
* Packages: restore whitelist functionality (patch from Richard Connon) ↵Narayan Desai2010-09-261-22/+20
| | | | | | (Resolves #944) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6064 ce84e21b-d406-0410-9b95-82705330c041
* Init: fix cosmetic display for hostname prompt (fix from m4z) (Resolves ↵Narayan Desai2010-09-261-1/+1
| | | | | | Ticket #906) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6063 ce84e21b-d406-0410-9b95-82705330c041
* Metadata: Add error message when file monitor failsSol Jerome2010-09-121-0/+1
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6052 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Assign the deps variable before resolution.Tim Laszlo2010-09-041-0/+1
| | | | | | If no dependencies are found a trace is thrown in the validation phase. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6048 ce84e21b-d406-0410-9b95-82705330c041
* Packages: fix type conflictNarayan Desai2010-08-301-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6044 ce84e21b-d406-0410-9b95-82705330c041
* Packages: fix type conflictNarayan Desai2010-08-301-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6043 ce84e21b-d406-0410-9b95-82705330c041
* Packages: invalidate virt_pkgs cache when source data is reloadedNarayan Desai2010-08-281-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6041 ce84e21b-d406-0410-9b95-82705330c041
* Packages: dep resolver rewriteNarayan Desai2010-08-271-154/+150
| | | | | | | | | Fix dep resolver to take all providers of a dependency into consideration. Rewrite resolver to be simpler at the same time. Added support for "apt" and "yum" as non-distro specific magic groups git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6040 ce84e21b-d406-0410-9b95-82705330c041
* BB: Deprecate BB plugin (Resolves Ticket #923)Sol Jerome2010-08-231-1/+1
| | | | | | | | | | The BB plugin is no longer in use. It has been replaced at Argonne by Heckle (https://trac.mcs.anl.gov/projects/Heckle). More information about Heckle should be available soon. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6032 ce84e21b-d406-0410-9b95-82705330c041
* CommentsFabian Affolter2010-08-141-2/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6016 ce84e21b-d406-0410-9b95-82705330c041
* Added some more comments.Fabian Affolter2010-08-141-8/+11
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6015 ce84e21b-d406-0410-9b95-82705330c041
* Fix typosSol Jerome2010-08-142-2/+2
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6014 ce84e21b-d406-0410-9b95-82705330c041
* Init: Fix traceback from ticket #906Sol Jerome2010-08-111-4/+7
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6009 ce84e21b-d406-0410-9b95-82705330c041
* Don't assume python2.5 is being used on successful hashlib importSol Jerome2010-08-112-4/+7
| | | | | | | | | | | | The hashlib module has been backported to earlier versions of python. If we assume that 2.5 is in use, then python will go crazy looking for stuff that doesn't exist in earlier versions. This patch will allow older versions of python installed alongside a standalone hashlib module to work properly. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6004 ce84e21b-d406-0410-9b95-82705330c041
* Probes: Fix name collapse in case of group specific probes (arch.G20_foo -> ↵Narayan Desai2010-08-111-1/+1
| | | | | | arch) (Resolves Ticket #904) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6003 ce84e21b-d406-0410-9b95-82705330c041
* TGenshi/TCheetah: Add base64 encoding support for files handled by non-Cfg ↵Sol Jerome2010-08-052-2/+12
| | | | | | | | | | | | | | plugins Reported by Chris Brinker in IRC. We should now have the ability to use encoding=base64 in info/info.xml files for paths that are handled by the TGenshi and TCheetah plugins. I think this common code for the three plugins can be merged once we implement Kisielk's idea for having a single Cfg/TGenshi/TCheetah tree. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6002 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Move knobs to config.xmlTim Laszlo2010-08-041-26/+12
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5999 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Resolver/Metadata optionsTim Laszlo2010-08-041-1/+32
| | | | | | | Patch from Jack Neely to add enable/disable options to the resolver and metadata pareser. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5998 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Allow soft relaods and use a checksum for cache file.Tim Laszlo2010-08-041-41/+41
| | | | | | | | Use checksum for cache file. Allow reloads of config.xml and sources without downloading everything. Merged config.xml and source processing into a single function. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5997 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Expose repo data as a ConnectorTim Laszlo2010-08-041-4/+24
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5996 ce84e21b-d406-0410-9b95-82705330c041
* DBStats: Fix random mysql errorsTim Laszlo2010-07-302-18/+26
| | | | | | | | | Occasionally importing ping data would fail with "Commands out of sync; you can't run this command now". Improved logging and error handling for imports. Fixed indentation error in GetCurrentEntry git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5992 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Allow xinclude and add XML error handlingTim Laszlo2010-07-301-6/+18
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5990 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Remove log line from black/whitelist testTim Laszlo2010-07-301-1/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5989 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Allow for whitelistingTim Laszlo2010-07-301-7/+11
| | | | | | | Patch from IRConan to allow for whitelisted packages in sources. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5988 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Treat blacklisted packages as if they don't existTim Laszlo2010-07-301-2/+2
| | | | | | | Currently a blacklisted package stops further source processing. This prevents any other sources from defining a good package. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5987 ce84e21b-d406-0410-9b95-82705330c041
* Fixed indention errorFabian Affolter2010-07-301-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5985 ce84e21b-d406-0410-9b95-82705330c041
* Cfg: Allow pull operations to update info.xml filesTim Laszlo2010-07-301-9/+18
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5984 ce84e21b-d406-0410-9b95-82705330c041
* TGenshi: Warn when genshi is not installedSol Jerome2010-07-161-9/+14
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Bundler: Log something for genshi errorsTim Laszlo2010-07-161-6/+14
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5978 ce84e21b-d406-0410-9b95-82705330c041
* DBStats: Handle and warn when an unknown client is givenTim Laszlo2010-07-161-1/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5977 ce84e21b-d406-0410-9b95-82705330c041
* Admin/Pull: Allow a list of files to be read from stdinTim Laszlo2010-07-161-4/+24
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5976 ce84e21b-d406-0410-9b95-82705330c041
* DBStats: Support for postgresqlTim Laszlo2010-07-163-86/+50
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5975 ce84e21b-d406-0410-9b95-82705330c041
* 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
* 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-221-3/+8
| | | | | | | | | | | | 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
* 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
* 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