summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Bcfg2/Server')
-rw-r--r--src/lib/Bcfg2/Server/Plugins/Decisions.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Decisions.py b/src/lib/Bcfg2/Server/Plugins/Decisions.py
index b30a9acea..957426ec8 100644
--- a/src/lib/Bcfg2/Server/Plugins/Decisions.py
+++ b/src/lib/Bcfg2/Server/Plugins/Decisions.py
@@ -27,8 +27,10 @@ class Decisions(Bcfg2.Server.Plugin.Plugin,
def __init__(self, core):
Bcfg2.Server.Plugin.Plugin.__init__(self, core)
Bcfg2.Server.Plugin.Decision.__init__(self)
- self.whitelist = DecisionFile(os.path.join(self.data, "whitelist.xml"))
- self.blacklist = DecisionFile(os.path.join(self.data, "blacklist.xml"))
+ self.whitelist = DecisionFile(os.path.join(self.data, "whitelist.xml"),
+ should_monitor=True)
+ self.blacklist = DecisionFile(os.path.join(self.data, "blacklist.xml"),
+ should_monitor=True)
def GetDecisions(self, metadata, mode):
return getattr(self, mode).get_decisions(metadata)