summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/DBStats.py
blob: 88cb6d17c40ad0aa199c426cf2a3ef92ad3125be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
""" DBstats provides a database-backed statistics handler """

import Bcfg2.Server.Plugin


class DBStats(Bcfg2.Server.Plugin.Plugin):
    """ DBstats provides a database-backed statistics handler """

    def __init__(self, core):
        Bcfg2.Server.Plugin.Plugin.__init__(self, core)
        self.logger.error("DBStats has been replaced with Reporting")
        self.logger.error("DBStats: Be sure to migrate your data "
                          "before running the report collector")
        raise Bcfg2.Server.Plugin.PluginInitError