diff options
author | Sol Jerome <solj@ices.utexas.edu> | 2010-03-04 17:22:40 +0000 |
---|---|---|
committer | Sol Jerome <solj@ices.utexas.edu> | 2010-03-04 17:22:40 +0000 |
commit | 81089eae40e9bc6cef778f05c23f10a7a746ae06 (patch) | |
tree | cadae0f8600bbec24d4b539165f014943b7f25f6 /doc | |
parent | 7ff0c5743ac8000980d5760f3baf9b19825d4efd (diff) | |
download | bcfg2-81089eae40e9bc6cef778f05c23f10a7a746ae06.tar.gz bcfg2-81089eae40e9bc6cef778f05c23f10a7a746ae06.tar.bz2 bcfg2-81089eae40e9bc6cef778f05c23f10a7a746ae06.zip |
Ohai: Add support for pre-2.6 versions of python
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
Diffstat (limited to 'doc')
-rw-r--r-- | doc/server/plugins/probes/index.txt | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/server/plugins/probes/index.txt b/doc/server/plugins/probes/index.txt index f723ad528..3c5387180 100644 --- a/doc/server/plugins/probes/index.txt +++ b/doc/server/plugins/probes/index.txt @@ -126,3 +126,37 @@ Other examples manufacturer producttype serial-console-speed + +=========== +Ohai probes +=========== + +.. _Ohai: http://wiki.opscode.com/display/ohai/Home +.. _Ohai-Install: http://wiki.opscode.com/display/ohai/Installation + +The `Ohai`_ plugin is used to detect information about the client +operating system. The data is reported back to the server using JSON. + +Client prerequisites +==================== + +On the client, you need to install `Ohai`_. See `Ohai-Install`_ for more +information. + +Server prerequisites +==================== + +If you have python 2.6 or later installed, you can continue on to +:ref:`ohai-setup`. Otherwise, you will need to install the +python-simplejson module found packaged in most distributions. + +.. _ohai-setup: + +Setup +===== + +To enable the Ohai plugin, you need to first create an ``Ohai`` directory +in your Bcfg2 repository (e.g. ``/var/lib/bcfg2/Ohai``). You then need +to add **Ohai** to the plugins line in ``bcfg2.conf``. Once this is done, +restart the server and start a client run. You will have the JSON output +from the client in the ``Ohai`` directory you created previously. |