summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Cfg/CfgEncryptedCheetahGenerator.py
blob: 3911cff623aad9b25324129b976ed8e06f705ab2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import logging
from Bcfg2.Server.Plugins.Cfg.CfgCheetahGenerator import CfgCheetahGenerator
from Bcfg2.Server.Plugins.Cfg.CfgEncryptedGenerator import CfgEncryptedGenerator

logger = logging.getLogger(__name__)

class CfgEncryptedCheetahGenerator(CfgCheetahGenerator, CfgEncryptedGenerator):
    __extensions__ = ['cheetah.crypt', 'crypt.cheetah']

    def handle_event(self, event):
        CfgEncryptedGenerator.handle_event(self, event)

    def get_data(self, entry, metadata):
        CfgCheetahGenerator.get_data(self, entry, metadata)