/usr/lib/python2.7/dist-packages/Bcfg2/Server/Plugins/Cfg/CfgPlaintextGenerator.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 | """ CfgPlaintextGenerator is a
:class:`Bcfg2.Server.Plugins.Cfg.CfgGenerator` that handles plain text
(i.e., non-templated) :ref:`server-plugins-generators-cfg` files."""
from Bcfg2.Server.Plugins.Cfg import CfgGenerator
class CfgPlaintextGenerator(CfgGenerator):
""" CfgPlaintextGenerator is a
:class:`Bcfg2.Server.Plugins.Cfg.CfgGenerator` that handles plain
text (i.e., non-templated) :ref:`server-plugins-generators-cfg`
files. The base Generator class already implements this
functionality, so CfgPlaintextGenerator doesn't need to do
anything itself."""
#: Very low priority to avoid matching host- or group-specific
#: files with other extensions -- e.g., .genshi, .crypt, etc.
__priority__ = 100
|