summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cloudinit/config/cc_debug.py2
-rw-r--r--doc/rtd/topics/modules.rst1
2 files changed, 3 insertions, 0 deletions
diff --git a/cloudinit/config/cc_debug.py b/cloudinit/config/cc_debug.py
index 39d85fdc..a3af4500 100644
--- a/cloudinit/config/cc_debug.py
+++ b/cloudinit/config/cc_debug.py
@@ -51,6 +51,8 @@ def _make_header(text):
def handle(name, cfg, cloud, log, args):
+ """Handler method activated by cloud-init."""
+
verbose = util.get_cfg_by_path(cfg, ('debug', 'verbose'), default=True)
if args:
# if args are provided (from cmdline) then explicitly set verbose
diff --git a/doc/rtd/topics/modules.rst b/doc/rtd/topics/modules.rst
index d34c2969..c9a2e60c 100644
--- a/doc/rtd/topics/modules.rst
+++ b/doc/rtd/topics/modules.rst
@@ -50,6 +50,7 @@ Debug
*Internal name:* ``cc_debug``
.. automodule:: cloudinit.config.cc_debug
+ :members:
Disable Ec2 Metadata
--------------------