summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2014-10-23 17:57:10 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2014-10-23 17:57:10 -0700
commit69f4a9c5d73be23d00be0fefb41788e6744112e7 (patch)
tree7c03670bc144055d246d69fccad45837e5c07455
parent17f180790f4a8b7f818b76abf34cc6b2ba61f0af (diff)
downloadvyos-cloud-init-69f4a9c5d73be23d00be0fefb41788e6744112e7.tar.gz
vyos-cloud-init-69f4a9c5d73be23d00be0fefb41788e6744112e7.zip
Add a link to the module code
-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
--------------------