summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_debug.py
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2014-10-23 17:47:19 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2014-10-23 17:47:19 -0700
commitba09a65a307651144a72a0a0e554895ac0440c45 (patch)
tree3daafd06384f438f5c1d7123ce7cfdaf1cc8892f /cloudinit/config/cc_debug.py
parentdd1853b5b64c43995e33c129bc71def9f4bad0ce (diff)
downloadvyos-cloud-init-ba09a65a307651144a72a0a0e554895ac0440c45.tar.gz
vyos-cloud-init-ba09a65a307651144a72a0a0e554895ac0440c45.zip
Add the beginnings of module documentation
Diffstat (limited to 'cloudinit/config/cc_debug.py')
-rw-r--r--cloudinit/config/cc_debug.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/cloudinit/config/cc_debug.py b/cloudinit/config/cc_debug.py
index 7219b0f8..89627012 100644
--- a/cloudinit/config/cc_debug.py
+++ b/cloudinit/config/cc_debug.py
@@ -14,6 +14,21 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+"""
+**Summary:** helper to debug cloud-init *internal* datastructures.
+
+**Description:** This module will enable for outputting various internal
+information that cloud-init sources provide to either a file or to the output
+console/log location that this cloud-init has been configured with when
+running.
+
+It can be configured with the following option structure::
+
+ debug:
+ verbose: (defaulting to true)
+ output: (location to write output, defaulting to console + log)
+"""
+
from cloudinit import type_utils
from cloudinit import util
import copy