summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* doc: Add information about unmanaged host public ssh keysSol Jerome2010-03-267-28/+58
| | | | 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
* doc: More fixesSol Jerome2010-03-254-16/+17
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5792 ce84e21b-d406-0410-9b95-82705330c041
* doc: Tidy up the configuration entries pageSol Jerome2010-03-251-14/+30
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5791 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
* doc: Add some color to html tablesSol Jerome2010-03-252-0/+38
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5789 ce84e21b-d406-0410-9b95-82705330c041
* doc: More suggested improvements from Philipp RieggerSol Jerome2010-03-256-20/+34
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5788 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
* doc: Create new doc outlining the various client modes availableSol Jerome2010-03-222-30/+44
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5786 ce84e21b-d406-0410-9b95-82705330c041
* doc: Add new service mode informationSol Jerome2010-03-223-19/+69
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5785 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
* bcfg2-server.init: Fix 'service bcfg2-server status' results (Patch from Lee ↵Sol Jerome2010-03-181-1/+1
| | | | | | | | | | | | | | | | | Loucks) From Ticket #864: Bcfg2 v1.0.1-1 on a RHEL system. running /etc/init.d/bcfg2-server status returns a "is running" method whether bcfg2-server is running or not. To fix this adding a the "-o %PPID" flag to the pidof call eliminates the parent process from pidof's process list. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5780 ce84e21b-d406-0410-9b95-82705330c041
* doc: Add client FAQSol Jerome2010-03-182-0/+16
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5779 ce84e21b-d406-0410-9b95-82705330c041
* doc: Fix some grammar on the glossary pageSol Jerome2010-03-181-4/+12
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5778 ce84e21b-d406-0410-9b95-82705330c041
* First stab at bringing CentOS documentation unto the v1 era.Raul Cuza2010-03-133-33/+49
|
* Added a bit on using repository. Maybe it is too obvious.Raul Cuza2010-03-131-1/+2
|
* Added suggested usage for 'repository'. And 4 space = python happiness.Raul Cuza2010-03-132-11/+15
|
* Added repository and VCS to the glossary.Raul Cuza2010-03-131-0/+7
|
* Added this to toctree to clear an error when building the HTML documentation.Raul Cuza2010-03-131-0/+1
|
* Added styleguide to development section under the assumption that creating ↵Raul Cuza2010-03-132-0/+11
| | | | documentation is a part of development. :-)
* Merge branch 'master' of github.com:solj/bcfg2Raul Cuza2010-03-134-10/+53
|\
| * APT: Add support for using non-standard tool paths (Resolves Ticket #773Sol Jerome2010-03-134-10/+53
| | | | | | | | | | | | 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
* | Adding a style guide. This can be a reference for helping create consistency ↵Raul Cuza2010-03-131-0/+16
| | | | | | | | in the documentation. Modify it as you see fit.
* | Added a section to getting help for submitting a bug. This can be ↵Raul Cuza2010-03-131-1/+6
|/ | | | referrenced by other documents to create one place where we update how to create bugs. This will simplify updating the documentation if how bugs are submitted ever changes.
* Ripped out sections on installing from source and building RPM's. They now ↵Raul Cuza2010-03-131-151/+7
| | | | live in the Using Bcfg2 with CentOS document. I did this to simplify the steps in the quickstart document.
* Corrected some reference errors. Tested it with setup.py and looks good.Raul Cuza2010-03-132-2/+2
|
* Added a Using Bcfg2 subsection for CentOS. This document will have specific ↵Raul Cuza2010-03-132-11/+171
| | | | | | topics useful specifically to CentOS. Modified the index to accomidate this new document. Made some editing changes to the first section.
* Merge branch 'master' of github.com:solj/bcfg2spartanem2010-03-1312-20/+252
|\
| * Upstart: Add new upstart client toolSol Jerome2010-03-135-32/+124
| | | | | | | | | | | | | | | | | | | | 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>
| * doc: add initial bcfg2-info docNarayan Desai2010-03-131-0/+129
| | | | | | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5763 ce84e21b-d406-0410-9b95-82705330c041
| * 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
| * doc: Fix broken linksSol Jerome2010-03-125-14/+18
| | | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
* | 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-092-1/+3
| | | | | | 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
* doc: Add note to summarize Packages group membershipsSol Jerome2010-03-091-1/+6
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5758 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
* schemas: Validate nested Group tags in info.xml filesSol Jerome2010-03-071-0/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5755 ce84e21b-d406-0410-9b95-82705330c041
* doc: Integrate more unsorted documentsSol Jerome2010-03-0618-566/+622
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5754 ce84e21b-d406-0410-9b95-82705330c041
* packages.xsd: Make Version and Component option (Necessary for RawURLs)Sol Jerome2010-03-061-3/+4
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5753 ce84e21b-d406-0410-9b95-82705330c041