This file is indexed.

/usr/lib/python2.7/dist-packages/Bcfg2/Server/Plugins/Cfg/CfgEncryptedCheetahGenerator.py is in bcfg2-server 1.4.0~pre2+git141-g6d40dace6358-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
""" Handle encrypted Cheetah templates (.crypt.cheetah or
.cheetah.crypt files)"""

from Bcfg2.Server.Plugins.Cfg.CfgCheetahGenerator import CfgCheetahGenerator
from Bcfg2.Server.Plugins.Cfg.CfgEncryptedGenerator \
    import CfgEncryptedGenerator


class CfgEncryptedCheetahGenerator(CfgCheetahGenerator, CfgEncryptedGenerator):
    """ CfgEncryptedCheetahGenerator lets you encrypt your Cheetah
    :ref:`server-plugins-generators-cfg` files on the server """

    #: handle .crypt.cheetah or .cheetah.crypt files
    __extensions__ = ['cheetah.crypt', 'crypt.cheetah']

    #: Override low priority from parent class
    __priority__ = 0

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

    def get_data(self, entry, metadata):
        return CfgCheetahGenerator.get_data(self, entry, metadata)
    get_data.__doc__ = CfgCheetahGenerator.get_data.__doc__