summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/FileMonitor
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2014-02-13 11:07:47 -0500
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2014-02-13 11:07:47 -0500
commit9eb8eb8ebad15ddb0ea2b5735452dbd5d6c41a91 (patch)
tree332aba747065813e53473450ef5a387df3d77042 /src/lib/Bcfg2/Server/FileMonitor
parent9d43354a20d5f8b88fa6a961fa400fce412f7ae2 (diff)
downloadbcfg2-9eb8eb8ebad15ddb0ea2b5735452dbd5d6c41a91.tar.gz
bcfg2-9eb8eb8ebad15ddb0ea2b5735452dbd5d6c41a91.tar.bz2
bcfg2-9eb8eb8ebad15ddb0ea2b5735452dbd5d6c41a91.zip
FAM: Deprecate the gamin FAM driver
Diffstat (limited to 'src/lib/Bcfg2/Server/FileMonitor')
-rw-r--r--src/lib/Bcfg2/Server/FileMonitor/Gamin.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/lib/Bcfg2/Server/FileMonitor/Gamin.py b/src/lib/Bcfg2/Server/FileMonitor/Gamin.py
index 69463ab4c..b349d20fd 100644
--- a/src/lib/Bcfg2/Server/FileMonitor/Gamin.py
+++ b/src/lib/Bcfg2/Server/FileMonitor/Gamin.py
@@ -27,11 +27,11 @@ class GaminEvent(Event):
class Gamin(FileMonitor):
""" File monitor backend with `Gamin
- <http://people.gnome.org/~veillard/gamin/>`_ support. """
+ <http://people.gnome.org/~veillard/gamin/>`_ support. **Deprecated.** """
- #: The Gamin backend is fairly decent, particularly newer
- #: releases, so it has a fairly high priority.
- __priority__ = 90
+ #: The Gamin backend is deprecated, but better than pseudo, so it
+ #: has a medium priority.
+ __priority__ = 50
def __init__(self):
FileMonitor.__init__(self)
@@ -46,6 +46,9 @@ class Gamin(FileMonitor):
#: The queue used to record monitors that are added before
#: :func:`start` has been called and :attr:`mon` is created.
self.add_q = []
+
+ self.logger.warning("The Gamin file monitor backend is deprecated. "
+ "Please switch to a supported file monitor.")
__init__.__doc__ = FileMonitor.__init__.__doc__
def start(self):