summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2014-11-21 17:44:32 -0800
committerJoshua Harlow <harlowja@yahoo-inc.com>2014-11-21 17:44:32 -0800
commit94565bc8607f35557225589d9dde6d2954d49731 (patch)
tree00adeff97b3e92a2875a1efd4f1b43d147395ad8
parente0db600c791b84ab36da1541919ee8b497946d0d (diff)
downloadvyos-cloud-init-94565bc8607f35557225589d9dde6d2954d49731.tar.gz
vyos-cloud-init-94565bc8607f35557225589d9dde6d2954d49731.zip
Ensure the cc_chef doc links to the cc_chef code
-rw-r--r--cloudinit/config/cc_chef.py1
-rw-r--r--doc/rtd/topics/modules.rst1
2 files changed, 2 insertions, 0 deletions
diff --git a/cloudinit/config/cc_chef.py b/cloudinit/config/cc_chef.py
index b30d7361..d5611253 100644
--- a/cloudinit/config/cc_chef.py
+++ b/cloudinit/config/cc_chef.py
@@ -182,6 +182,7 @@ def get_template_params(iid, chef_cfg, log):
def handle(name, cfg, cloud, log, _args):
+ """Handler method activated by cloud-init."""
# If there isn't a chef key in the configuration don't do anything
if 'chef' not in cfg:
diff --git a/doc/rtd/topics/modules.rst b/doc/rtd/topics/modules.rst
index b50acbfa..4202338b 100644
--- a/doc/rtd/topics/modules.rst
+++ b/doc/rtd/topics/modules.rst
@@ -43,6 +43,7 @@ Chef
**Internal name:** ``cc_chef``
.. automodule:: cloudinit.config.cc_chef
+ :members:
Debug
-----