lp://qastaging/~harlowja/cloud-init/update-prev-hostname-read

Created by Joshua Harlow and last modified
Get this branch:
bzr branch lp://qastaging/~harlowja/cloud-init/update-prev-hostname-read
Only Joshua Harlow can upload to this branch. If you are Joshua Harlow please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Joshua Harlow
Project:
cloud-init
Status:
Merged

Recent revisions

732. By Joshua Harlow

Update how errors are handled when writing and reading hostnames.

731. By Joshua Harlow

Only attempt to read the previous hostname file if it exists.

Instead of always reading the previous hostname file even if it
did not exist lets only read it if it is a valid variable and is
actually a existent file instead of just attempting to read it
always.

730. By Scott Moser

support 'power_state' cloud-config for specifying shutdown

this adds 'power-state-change' config module that allows the user to
specify in cloud-config syntax that a system reboot or shutdown should occur
after cloud-init is done.

729. By Scott Moser

Even when using boto < 2.6 force the unlazying to occur

It seems like its possible that boto 2.5.2 and below have the lazy loading
metadata dictionary so as a precaution we will always take the hit of
unlazying the metadata dictionary by traversing it which in the non-lazy
dictionary case has no effect (its marginal). This also removes the need
to check the boto version and the dependency on setup tools just for this
case.

728. By Scott Moser

'name' for default user must be all lower case.

if 'name' for the user had something other than all lower case, then
pwd.getpwname would fail.

727. By Scott Moser

fix bad dependency added during the boto fix

726. By Joshua Harlow

Use a set of helper/parsing classes to perform system configuration

Previously file modification of system configuration was done
in a functional and hard to test manner. Now instead this patch
allows for a manner that provides a nice object oriented
interface to those objects as well as makes it possible to test
those parsing entities without having to invoke distro class code.
   - Created parsers for:
    - /etc/sysconfig
    - /etc/hostname
    - resolv.conf
    - /etc/hosts

Moved duplicated functionality into the root level distro class including:
 - apply_hostname
 - set_hostname
 - *various shared configuration file names/paths*

725. By Joshua Harlow

Remove dup and un-needed entries.

724. By Scott Moser

pylint and pep8 fixes

723. By Joshua Harlow

Update changelog for previous commits.

Add in entry for LP: 1068801 and LP: 1075756
as well as LP: 1077245 and add in reason why
we are switching back to using 'None' as the
initial datasource value.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://qastaging/~cloud-init-dev/cloud-init/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers