diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-09-11 10:32:30 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-09-11 10:32:30 -0400 |
commit | 71c679e1a0105490bd5845a15de5e8f1a32e2166 (patch) | |
tree | c528e62098b599d7ae74ea53908a045ccf2ffb63 /src/lib/Bcfg2/Server/Plugins/Cfg/CfgPlaintextGenerator.py | |
parent | b682d9e3c11f94a9a9dc254a6d53e44f953a74bf (diff) | |
download | bcfg2-71c679e1a0105490bd5845a15de5e8f1a32e2166.tar.gz bcfg2-71c679e1a0105490bd5845a15de5e8f1a32e2166.tar.bz2 bcfg2-71c679e1a0105490bd5845a15de5e8f1a32e2166.zip |
Cfg: documented all Cfg modules, added development docs
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/Cfg/CfgPlaintextGenerator.py')
-rw-r--r-- | src/lib/Bcfg2/Server/Plugins/Cfg/CfgPlaintextGenerator.py | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Cfg/CfgPlaintextGenerator.py b/src/lib/Bcfg2/Server/Plugins/Cfg/CfgPlaintextGenerator.py index 8e9aab465..333e2f670 100644 --- a/src/lib/Bcfg2/Server/Plugins/Cfg/CfgPlaintextGenerator.py +++ b/src/lib/Bcfg2/Server/Plugins/Cfg/CfgPlaintextGenerator.py @@ -1,8 +1,14 @@ -import logging -import Bcfg2.Server.Plugin -from Bcfg2.Server.Plugins.Cfg import CfgGenerator +""" CfgPlaintextGenerator is a +:class:`Bcfg2.Server.Plugins.Cfg.CfgGenerator` that handles plain text +(i.e., non-templated) :ref:`server-plugins-generators-cfg` files.""" -logger = logging.getLogger(__name__) +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.""" pass |