From 6a999d85aca7790da1a2a4fb2bedc2dcadf7099b Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Fri, 29 Jun 2012 18:29:45 -0700 Subject: Update the todo with comments on new actions to be fixed. 1. Use the netcf library instead of ubuntu -> rhel format conversion occuring now 2. Replace the apt* like config 'modules' with generic ones that will use the new distro classes to handle the specific lower-level details --- TODO | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index 568bdb07..50471774 100644 --- a/TODO +++ b/TODO @@ -1,14 +1,21 @@ -- consider 'failsafe' DataSource +- Consider a 'failsafe' DataSource If all others fail, setting a default that - sets the user password, writing it to console - logs to console that this happened -- consider 'previous' DataSource +- Consider 'previous' DataSource If no other data source is found, fall back to the 'previous' one keep a indication of what instance id that is in /var/lib/cloud -- rewrite "cloud-init-query" - have DataSource and cloudinit expose explicit fields +- Rewrite "cloud-init-query" (currently not implemented) + Possibly have DataSource and cloudinit expose explicit fields - instance-id - hostname - mirror - release - ssh public keys +- Remove the conversion of the ubuntu network interface format conversion + to a RH/fedora format and replace it with a top level format that uses + the netcf libraries format instead (which itself knows how to translate + into the specific formats) +- Replace the 'apt*' modules with variants that now use the distro classes + to perform distro independent packaging commands (where possible) + -- cgit v1.2.3 From f8ddab59708fd00136021d363870492025994baf Mon Sep 17 00:00:00 2001 From: harlowja Date: Fri, 29 Jun 2012 20:38:34 -0700 Subject: Add some more TODO to be done in the future. --- TODO | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index 50471774..30a52cae 100644 --- a/TODO +++ b/TODO @@ -2,7 +2,7 @@ If all others fail, setting a default that - sets the user password, writing it to console - logs to console that this happened -- Consider 'previous' DataSource +- Consider a 'previous' DataSource If no other data source is found, fall back to the 'previous' one keep a indication of what instance id that is in /var/lib/cloud - Rewrite "cloud-init-query" (currently not implemented) @@ -18,4 +18,15 @@ into the specific formats) - Replace the 'apt*' modules with variants that now use the distro classes to perform distro independent packaging commands (where possible) - +- Canonicalize the semaphore/lock name for modules and user data handlers + a. It is most likely a bug that currently exists that if a module in config + alters its name and it has already ran, then it will get ran again since + the lock name hasn't be canonicalized +- Replace some the LOG.debug calls with a LOG.info where appropriate instead + of how right now there is really only 2 levels (WARN and DEBUG) +- Remove the 'cc_' for config modules, either have them fully specified (ie + 'cloudinit.config.resizefs') or by default only look in the 'cloudinit.config' + for these modules (or have a combination of the above), this avoids having + to understand where your modules are coming from (which can be altered by + the current python inclusion path) + -- cgit v1.2.3 From 048b0953b4f33e6fe4f748ddddb392b6667c4f3b Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Fri, 6 Jul 2012 10:53:35 -0700 Subject: Add comment about keeping track of what people think about the 'read' and 'write' root, and if it confuses them, remove it later and just recommend a more 'natural' way of doing it (ie 'chroot'). --- TODO | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'TODO') diff --git a/TODO b/TODO index 30a52cae..1725db00 100644 --- a/TODO +++ b/TODO @@ -29,4 +29,9 @@ for these modules (or have a combination of the above), this avoids having to understand where your modules are coming from (which can be altered by the current python inclusion path) - +- Depending on if people think the wrapper around 'os.path.join' provided + by the 'paths' object is useful (allowing us to modify based off a 'read' + and 'write' configuration based 'root') or is just to confusing, it might be + something to remove later, and just recommend using 'chroot' instead (or the X + different other options which are similar to 'chroot'), which is might be more + natural and less confusing... -- cgit v1.2.3