summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Upstart: Properly verify service statusSol Jerome2010-03-182-4/+19
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5781 ce84e21b-d406-0410-9b95-82705330c041
* APT: Add support for using non-standard tool paths (Resolves Ticket #773Sol Jerome2010-03-132-9/+35
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5766 ce84e21b-d406-0410-9b95-82705330c041
* Merge branch 'master' of github.com:solj/bcfg2spartanem2010-03-134-4/+91
|\
| * Upstart: Add new upstart client toolSol Jerome2010-03-132-3/+83
| | | | | | | | | | | | | | | | | | | | Due to the nature of the way Upstart handles service specification, turning 'servicename' off and on can be done via a configuration file located at /etc/init/<servicename>.conf. Enabling a disabled service can be done by making sure that the Upstart configuration file and the service are bundled together. Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
| * SSLServer: add in transaction timeoutsNarayan Desai2010-03-131-0/+5
| | | | | | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5762 ce84e21b-d406-0410-9b95-82705330c041
| * APT: add support for new debsums (Patch from Nicolas Dandrimont)Narayan Desai2010-03-131-1/+3
| | | | | | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5761 ce84e21b-d406-0410-9b95-82705330c041
* | Automatically add additional host aliases to ssh_known_hosts.root2010-03-131-1/+34
|/
* Packages: Add 'fedora' os group to the list of basegroupsSol Jerome2010-03-091-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5759 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-repo-validate: Add check to verify bundle name attributeSol Jerome2010-03-091-1/+11
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5757 ce84e21b-d406-0410-9b95-82705330c041
* importscript.py: Add support for -C option (Patch from euth in Ticket #852)Sol Jerome2010-03-071-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5756 ce84e21b-d406-0410-9b95-82705330c041
* Ohai: Handle case where client returns nothingSol Jerome2010-03-061-0/+3
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5752 ce84e21b-d406-0410-9b95-82705330c041
* Ohai: Add support for pre-2.6 versions of pythonSol Jerome2010-03-041-2/+19
| | | | | | | | | The Ohai plugin now works with servers using python 2.4-2.5 alongside the python-simplejson python module. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5748 ce84e21b-d406-0410-9b95-82705330c041
* Reports/settings.py: Fix outdated link to time zone choicesSol Jerome2010-03-011-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5743 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-server: Add sanity check for bcfg2.conf (Resolves Ticket #797)Sol Jerome2010-02-242-1/+5
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5742 ce84e21b-d406-0410-9b95-82705330c041
* Options.py: Add configurable lockfile option (Resolves Ticket #850)Sol Jerome2010-02-202-3/+7
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5734 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-repo-validate: Add check for genshi bundlesSol Jerome2010-02-201-2/+8
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5733 ce84e21b-d406-0410-9b95-82705330c041
* Logger.py: Add timestamps when logging to file (Resolves Ticket #819)Sol Jerome2010-02-171-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5730 ce84e21b-d406-0410-9b95-82705330c041
* FreeBSDInit: Add __init__ call (Resolves Ticket #814)Sol Jerome2010-02-171-0/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5729 ce84e21b-d406-0410-9b95-82705330c041
* SMF: Spelling fixSol Jerome2010-02-171-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5728 ce84e21b-d406-0410-9b95-82705330c041
* Packages: fix minor thinko in error path [bugfix]Narayan Desai2010-02-151-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5726 ce84e21b-d406-0410-9b95-82705330c041
* Packages: get rid of spurious whitespace in choice pkg namesNarayan Desai2010-02-141-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5725 ce84e21b-d406-0410-9b95-82705330c041
* Packages: fix dep issue on apt sources [bugfix]Narayan Desai2010-02-141-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5724 ce84e21b-d406-0410-9b95-82705330c041
* Packages: add pre-depends requirements for apt package sources (Resolves ↵Narayan Desai2010-02-141-1/+1
| | | | | | Ticket #832) [bugfix] git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5723 ce84e21b-d406-0410-9b95-82705330c041
* Packages: [bugfix]Narayan Desai2010-02-141-37/+24
| | | | | | | - fix cache file name creation - process dependencies for packages that have the same name as a multi-choice dependency (Resolves Ticket #847) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5722 ce84e21b-d406-0410-9b95-82705330c041
* Remove duplicate definitions (reported by zed on irc) [bugfix]Sol Jerome2010-02-101-8/+0
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5719 ce84e21b-d406-0410-9b95-82705330c041
* Properties: Remove experimental tagSol Jerome2010-02-101-1/+0
| | | | | | | | | The Properties plugin has been working flawlessly for me for some time now. I would say it's pretty solid. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5718 ce84e21b-d406-0410-9b95-82705330c041
* Snapshots: Use custom bcfg2.conf when specified (Fix for #839)Sol Jerome2010-02-086-12/+16
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5716 ce84e21b-d406-0410-9b95-82705330c041
* Git: pylint code cleanupsSol Jerome2010-02-071-2/+7
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5715 ce84e21b-d406-0410-9b95-82705330c041
* POSIXCompat: Clean up FIXMESol Jerome2010-02-071-10/+9
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5714 ce84e21b-d406-0410-9b95-82705330c041
* Fix traceback in bcfg2-admin init by using os.makedirs()Sol Jerome2010-02-053-13/+3
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5713 ce84e21b-d406-0410-9b95-82705330c041
* SSL fingerprint is deprecatedSol Jerome2010-02-041-3/+0
| | | | | | | | | | | Removing all references to the old method of using fingerprints to verify the server you are communicating with. The new way to do this is to use the 'ca' option in bcfg2.conf along with the bcfg2 server's CA certificate. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5712 ce84e21b-d406-0410-9b95-82705330c041
* rpmtools: Use hashlib for 2.5 or greater clientsSol Jerome2010-02-011-2/+11
| | | | | | | | | | This patch uses the hashlib module included in python2.5 or greater by default. It will still fall back to the old behavior for clients which have 2.4 or earlier. This resolves ticket #840. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5710 ce84e21b-d406-0410-9b95-82705330c041
* Fix call to os.rename()Sol Jerome2010-01-241-3/+2
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5702 ce84e21b-d406-0410-9b95-82705330c041
* Metadata: Write out proper file when clients.xml is a symlinkSol Jerome2010-01-231-1/+7
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5701 ce84e21b-d406-0410-9b95-82705330c041
* RcUpdate: Fix Service detection on Gentoo (Patch from Thorsten Lockert #825) ↵Sol Jerome2010-01-201-0/+10
| | | | | | | | [bugfix] Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5689 ce84e21b-d406-0410-9b95-82705330c041
* Packages: process apt-source choices correctly with multi-package version ↵Narayan Desai2010-01-201-4/+4
| | | | | | requirements (Reported by gregcoit) [bugfix] git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5687 ce84e21b-d406-0410-9b95-82705330c041
* Packages: handle architecture changes in Yum configs [bugfix]Narayan Desai2010-01-151-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5684 ce84e21b-d406-0410-9b95-82705330c041
* SSLServer: fix socket shutdown code (compatible across trunk, 1.0.1rc, and ↵Narayan Desai2010-01-121-1/+0
| | | | | | 0.9.6) [bugfix] git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5672 ce84e21b-d406-0410-9b95-82705330c041
* Metadata: build session cache properly for uuid clients [bugfix]Narayan Desai2010-01-121-2/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5671 ce84e21b-d406-0410-9b95-82705330c041
* Plugin.py: Fix docstring for GroupSpoolSol Jerome2010-01-081-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5667 ce84e21b-d406-0410-9b95-82705330c041
* SSLServer: Add file descriptor leak fix from 1.0.0 stable branchSol Jerome2010-01-081-4/+5
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5664 ce84e21b-d406-0410-9b95-82705330c041
* Metadata: use normalized hostnames for comparison (reported by gregcoit) ↵Narayan Desai2010-01-081-1/+1
| | | | | | [bugfix] git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5662 ce84e21b-d406-0410-9b95-82705330c041
* Component: pass through xmlrpc Fault instances [bugfix]Narayan Desai2010-01-061-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5661 ce84e21b-d406-0410-9b95-82705330c041
* SSLServer: set socket timeout for client sockets [bugfix]Narayan Desai2010-01-061-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5660 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-server: Missed a spot for #817 [bugfix]Sol Jerome2010-01-041-0/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5654 ce84e21b-d406-0410-9b95-82705330c041
* Code cleanupsSol Jerome2009-12-303-7/+7
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5648 ce84e21b-d406-0410-9b95-82705330c041
* Metadata: handle errors more robustly, and perform clients.xml wranging in ↵Narayan Desai2009-12-231-8/+24
| | | | | | new file git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5632 ce84e21b-d406-0410-9b95-82705330c041
* Core: Uniformly handle Metadata resolution errorsNarayan Desai2009-12-231-0/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5631 ce84e21b-d406-0410-9b95-82705330c041
* Info: Fix regex for paranoid options in info files [bugfix]Sol Jerome2009-12-211-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5629 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-server: Enable logging to file (fixes #817) [bugfix]Sol Jerome2009-12-202-3/+7
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5627 ce84e21b-d406-0410-9b95-82705330c041