summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Use for both, the server and the client, '--ssl-key' Fabian Affolter2010-08-141-41/+42
| | | | | | Options membered git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6012 ce84e21b-d406-0410-9b95-82705330c041
* SSLServer: handle socket errors on shutdown gracefully (Resolves #907 and #909)Narayan Desai2010-08-111-2/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6011 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2: fix option parsing for ssl key (Resolves Ticket #908)Narayan Desai2010-08-111-1/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6010 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
* YUMng re-implementation of VerifyPackage using the Yum API.Jack Neely2010-08-111-89/+318
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6008 ce84e21b-d406-0410-9b95-82705330c041
* Minor layout changesFabian Affolter2010-08-111-7/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6007 ce84e21b-d406-0410-9b95-82705330c041
* Harmonised log messagesFabian Affolter2010-08-111-10/+10
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6006 ce84e21b-d406-0410-9b95-82705330c041
* debian: Merge in changes from Arto JantunenSol Jerome2010-08-111-1/+2
| | | | | | | | | bcfg2.init: Remove agent mode (no longer exists) POSIX.py: Fix hardcoded errno value Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6005 ce84e21b-d406-0410-9b95-82705330c041
* Don't assume python2.5 is being used on successful hashlib importSol Jerome2010-08-113-11/+14
| | | | | | | | | | | | 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
* bcfg2-server: logger.error doesn't work when bcfg2.conf doesn't existSol Jerome2010-08-041-2/+4
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6001 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
* IPS: Fix argument ordering for PkgTool.__init__ as wellTim Laszlo2010-08-041-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5995 ce84e21b-d406-0410-9b95-82705330c041
* IPS: init args ordering patch from Rick BradshawSol Jerome2010-07-301-1/+1
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5994 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: Better error handling for installsTim Laszlo2010-07-301-2/+8
| | | | | | | Currently a missing package throws an exception during the install. This traps it and gracefully logs an error. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5993 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
* SSLServer: Retry failed writesTim Laszlo2010-07-301-8/+37
| | | | | | | | Fixes an issue where a client can no longer connect to the server after dropping a connection without properly terminating the ssl connection. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5991 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
* Commit whitelist/blacksupport for glob style entriesNarayan Desai2010-07-301-6/+19
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5986 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
* YUMng: Fix spellingSol Jerome2010-07-191-1/+1
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5980 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
* 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-215-15/+15
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5953 ce84e21b-d406-0410-9b95-82705330c041
* Updated files to match PEP 257 Fabian Affolter2010-06-212-6/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5952 ce84e21b-d406-0410-9b95-82705330c041