From 0f18ee6d293f8c3ca34523d029c0756698b93bc9 Mon Sep 17 00:00:00 2001
From: Guido Trotter <ultrotter@google.com>
Date: Thu, 6 Aug 2009 10:45:01 +0100
Subject: [PATCH] pyinotify: configure checks and documentation

After 74d519e3b91845a17ae095eb7d58dd9e3d1303e8 Ganeti depends on
pyinotify. Updating the documentation accordingly and checking for its
presence at configure time.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
---
 configure.ac    | 1 +
 doc/install.rst | 6 ++++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 3b4f0e200..fa8510643 100644
--- a/configure.ac
+++ b/configure.ac
@@ -170,6 +170,7 @@ AM_PATH_PYTHON(2.4)
 AC_PYTHON_MODULE(OpenSSL, t)
 AC_PYTHON_MODULE(simplejson, t)
 AC_PYTHON_MODULE(pyparsing, t)
+AC_PYTHON_MODULE(pyinotify, t)
 
 AC_CONFIG_FILES([ Makefile ])
 
diff --git a/doc/install.rst b/doc/install.rst
index bfbeee7c7..304922b99 100644
--- a/doc/install.rst
+++ b/doc/install.rst
@@ -281,11 +281,12 @@ nodes):
 
 - Python OpenSSL bindings, `<http://pyopenssl.sourceforge.net/>`_
 
-
 - simplejson Python module, `<http://www.undefined.org/python/#simplejson>`_
 
 - pyparsing Python module, `<http://pyparsing.wikispaces.com/>`_
 
+- pyinotify Python module, `<http://trac.dbzteam.org/pyinotify>`_
+
 These programs are supplied as part of most Linux distributions, so
 usually they can be installed via apt or similar methods. Also many of
 them will already be installed on a standard machine.
@@ -296,7 +297,8 @@ them will already be installed on a standard machine.
    You can use this command line to install all needed packages::
 
      # apt-get install lvm2 ssh bridge-utils iproute iputils-arping \
-     python python-pyopenssl openssl python-pyparsing python-simplejson
+     python python-pyopenssl openssl python-pyparsing python-simplejson \
+     python-pyinotify
 
 Setting up the environment for Ganeti
 -------------------------------------
-- 
GitLab