diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2011-01-22 19:22:46 +0100 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2011-01-22 13:07:16 -0600 |
commit | 34a5e5fd7c2e13041ec1f691a3966f936104b310 (patch) | |
tree | c0ed8200dea291395b2a64634eb99c6e890de054 | |
parent | b8b67b71c2f86d2e3d6f790896c5beec37a96cd6 (diff) | |
download | bcfg2-34a5e5fd7c2e13041ec1f691a3966f936104b310.tar.gz bcfg2-34a5e5fd7c2e13041ec1f691a3966f936104b310.tar.bz2 bcfg2-34a5e5fd7c2e13041ec1f691a3966f936104b310.zip |
Splitted out the ohai content from the probe file
-rw-r--r-- | doc/server/plugins/misc/ohai.txt | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/server/plugins/misc/ohai.txt b/doc/server/plugins/misc/ohai.txt new file mode 100644 index 000000000..6c0722ca4 --- /dev/null +++ b/doc/server/plugins/misc/ohai.txt @@ -0,0 +1,36 @@ +.. -*- mode: rst -*- + +.. _server-plugins-misc-ohai: + +Ohai +==== + +.. _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. |