From 257da18b16434360e656fe1ef94e4cf8ba3a5210 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Thu, 17 Jun 2010 22:06:24 -0400 Subject: cloud.cfg: remove accidently commited 'cloud_config_modules' section remove the section, these should be covered in 'builtin'. The content was correct, just not needed. Added an example to doc/examples/cloud-config.txt on how the user can configure this from either cloud-config user data or from /etc/cloud/cloud.cfg --- doc/examples/cloud-config.txt | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'doc/examples/cloud-config.txt') diff --git a/doc/examples/cloud-config.txt b/doc/examples/cloud-config.txt index 510c1b5e..1bde5b10 100644 --- a/doc/examples/cloud-config.txt +++ b/doc/examples/cloud-config.txt @@ -175,3 +175,33 @@ runcmd: - [ sh, -c, echo "=========hello world'=========" ] - ls -l /root - [ wget, "http://slashdot.org", -O, /tmp/index.html ] + + +# cloud_config_modules: +# default: +# cloud_config_modules: +# - mounts +# - ssh +# - apt-update-upgrade +# - puppet +# - updates-check +# - disable-ec2-metadata +# - runcmd +# +# This is an array of arrays or strings. +# if item is a string, then it is read as a module name +# if the item is an array it is of the form: +# name, frequency, arguments +# where 'frequency' is one of: +# once-per-instance +# always +# a python file in the CloudConfig/ module directory named +# cloud_config_name.py +# example: +cloud_config_modules: + - [apt-update-upgrade, always] + - config-misc + - config-mounts + - config-puppet + - config-ssh + - disable-ec2-metadata -- cgit v1.2.3