summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Core.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-11-16 09:22:06 -0500
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-11-16 09:57:53 -0500
commit924ce4f763bbc0aa47a9f79c5279c61fa8070716 (patch)
tree919ca7e6ece14cec02da7f3e43a13c150ad23976 /src/lib/Bcfg2/Server/Core.py
parent00627ba56075a0d0cb42356624ae6989521270bc (diff)
downloadbcfg2-924ce4f763bbc0aa47a9f79c5279c61fa8070716.tar.gz
bcfg2-924ce4f763bbc0aa47a9f79c5279c61fa8070716.tar.bz2
bcfg2-924ce4f763bbc0aa47a9f79c5279c61fa8070716.zip
FAM: allow toggling FAM debug by RMI on running server
Diffstat (limited to 'src/lib/Bcfg2/Server/Core.py')
-rw-r--r--src/lib/Bcfg2/Server/Core.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/Server/Core.py b/src/lib/Bcfg2/Server/Core.py
index 6d0ad2bb9..b48c19467 100644
--- a/src/lib/Bcfg2/Server/Core.py
+++ b/src/lib/Bcfg2/Server/Core.py
@@ -1069,3 +1069,7 @@ class BaseCore(object):
""" Get current statistics about component execution from
:attr:`Bcfg2.Statistics.stats`. """
return Bcfg2.Statistics.stats.display()
+
+ @exposed
+ def toggle_fam_debug(self, _):
+ return self.fam.toggle_debug()