summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* bcfg2-repo-validate: Warn when multiple default groups defined (Resolves ↵Sol Jerome2010-04-211-0/+8
| | | | | | Ticket #795) Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
* Upstart: Fix traceback for services that don't existSol Jerome2010-04-211-10/+16
| | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
* Packages: fix handling of negative recommended directiveNarayan Desai2010-04-171-1/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5828 ce84e21b-d406-0410-9b95-82705330c041
* Packages: fix up config file readingNarayan Desai2010-04-171-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5827 ce84e21b-d406-0410-9b95-82705330c041
* Packages: implement support for recommended packages in APTSourcesNarayan Desai2010-04-171-6/+16
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5826 ce84e21b-d406-0410-9b95-82705330c041
* Frame: Modify list comprehension so that it doesn't require lxmlSol Jerome2010-04-141-2/+3
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5825 ce84e21b-d406-0410-9b95-82705330c041
* APT: Add sources.list* to __important__ listSol Jerome2010-04-132-9/+24
| | | | | | | | | | | | Frame: Fix bug in handling of __important__ entries This should allow people the easier option of configuring their APT sources in the /etc/sources.list.d dirctory instead of just relying on sources.list to be correct. This commit also fixes a bug where the client was relying on a 'ConfigFile' entry tag even in the case where a Path entry was present. Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
* Hostbase: Fix a bug that caused setup.py to bailSol Jerome2010-04-1020-35/+35
| | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
* Hostbase/settings.py: Reset language default back to en-usSol Jerome2010-04-101-1/+1
| | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
* APT: produce reasonable interactive messages for version=auto entriesNarayan Desai2010-04-081-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5811 ce84e21b-d406-0410-9b95-82705330c041
* Packages: handle BoundPackage entries for prereq processingNarayan Desai2010-04-081-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5810 ce84e21b-d406-0410-9b95-82705330c041
* Packages: implement blacklist functionalityNarayan Desai2010-04-081-6/+16
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5809 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: preinstall /etc/yum.d/*Narayan Desai2010-04-081-0/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5808 ce84e21b-d406-0410-9b95-82705330c041
* Remove whitespaceSol Jerome2010-04-0822-75/+66
| | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
* Generic viewsRene Martin2010-04-085-114/+84
|
* Generic viewsRene Martin2010-04-082-0/+112
|
* Ignoring some files.Rene Martin2010-04-081-0/+3
|
* Trying to commit all my workRene Martin2010-04-0810-241/+157
|
* Initial port from Django 0.95 to Django 1.1.Rene Martin2010-04-082-0/+69
| | | | | | | | | | There are lots of things to change, from new admin interface to all the forms. I'm already changed some views to generic ones. All the models are "fixed" to fit in 1.1 specification. Some refactor in url's, named url's added too
* Fix configfile option for bcfg2-admin (Patch from Duncan Hutty)Sol Jerome2010-04-071-1/+2
| | | | | | | Also added a document describing various admin modes (needs to be fleshed out). Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
* RcUpdate: Add supervised service installSol Jerome2010-03-261-5/+13
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5800 ce84e21b-d406-0410-9b95-82705330c041
* Removed unnecessary variable. Fixed usage of uninitialized variable.Sol Jerome2010-03-261-3/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5799 ce84e21b-d406-0410-9b95-82705330c041
* We don't call the init script anymore.Sol Jerome2010-03-261-8/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5798 ce84e21b-d406-0410-9b95-82705330c041
* We don't do that, this is done by __init__.py.Sol Jerome2010-03-261-10/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5797 ce84e21b-d406-0410-9b95-82705330c041
* Fixed a bug in the last commit. Is_enabled now really checks ifSol Jerome2010-03-261-11/+11
| | | | | | something is enabled, not, if it is running. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5796 ce84e21b-d406-0410-9b95-82705330c041
* Reworked RcUpdate.py. VerifyService now checks if running services areSol Jerome2010-03-261-34/+61
| | | | | | enabled. InstallService now respects supervised mode. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5795 ce84e21b-d406-0410-9b95-82705330c041
* SSHbase: Use shutil as per Lee's suggestion in Ticket #866Sol Jerome2010-03-251-2/+3
| | | | | | | | | | | | | | | | | | | | | From the ticket: --- From what I can tell, there is an os.system call (line #214 of Bcfg2/Server/Plugins/SSHbase.py) that is supposed to fire off ssh-keygen to generate the keys in a temporary directory. It seems that this call isn't generating the keys correctly. Adding in some debug os.listdir(tempdir) calls before and after the os.system call, shows that there are no files before and after the os.system call. Running the command manually generates valid key pairs. --- So, while this commit won't fix the os.system call, it should at least prevent the plugin from generating empty ssh keys. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5794 ce84e21b-d406-0410-9b95-82705330c041
* SSHbase: Generate known_hosts file in consistent order (Patch from Lee Loucks)Sol Jerome2010-03-251-31/+32
| | | | | | | | | | | | | | | | From Ticket #869: Because the order of a python set is dependent on the order of the hash of entries of that set, the get_skn method generates a entries in the ssh_known_hosts with the names ordered according to their has instead of a consistent (from the user point of view) order. Some entries are IP, hostname and other entries are hostname, IP. This patch corrects that. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5793 ce84e21b-d406-0410-9b95-82705330c041
* Viz: Include xincluded files from groups.xml (Resolves Ticket #867)Sol Jerome2010-03-251-0/+4
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5790 ce84e21b-d406-0410-9b95-82705330c041
* POSIX: Add support to properly verify new POSIX entries (directories)Sol Jerome2010-03-221-1/+2
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5787 ce84e21b-d406-0410-9b95-82705330c041
* Portage.py: Fix equery usage for newer versions of gentoolkit (Patch from ↵Sol Jerome2010-03-221-1/+3
| | | | | | | | Philipp Riegger) Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5784 ce84e21b-d406-0410-9b95-82705330c041
* Client/Tools/__init__.py: Report return value in lower bits of cmdstatSol Jerome2010-03-221-1/+4
| | | | | | | | | | The return value was being stored in the upper eight bits of cmdstat. This change shifts that value to the lower bits so that comparisons in calling methods will be reliable. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5783 ce84e21b-d406-0410-9b95-82705330c041
* 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