lp:~harlowja/cloud-init/notify-on-reload

Created by Joshua Harlow on 2012-12-18 and last modified on 2012-12-18
Get this branch:
bzr branch lp:~harlowja/cloud-init/notify-on-reload
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:
Development

Recent revisions

752. By Joshua Harlow on 2012-12-18

Use a notify/subscribe model for configuration/distro reloading.

Instead of the previous way where we reached into the datasource
object and messed with its properties its cleaner to create a
tiny set of functions that can be used to notify others of changes
and let them use those changes as they wish. So instead of messing
with the datasource properties, just notify it something has changed
and have the datasource modify itself instead.

751. By Scott Moser on 2012-12-17

tell upstart to reload configuration after writing an upstart job

Invoking 'initctl reload-configuration' is only required if inotify
does not work. overlayroot does not support inotify. So, we just
call initctl always, which wont hurt anything.

750. By Joshua Harlow on 2012-12-17

ensure a datasource's 'distro' and sys_cfg are updated

After parsing and merging datasource's config, the changes in were not making
it into the datasource's 'distro.

The end result was that the when a config module was called, it's 'cloud'
argument would be updated in 'cloud.distro', but not in
'cloud.datasource.distro'. This path was required for getting mirror settings
to take affect, because they include information from the datasource.

Ie:
  cc_apt_configure had
    mirror_info = cloud.datasource.get_package_mirror_info()
  the datasource then used *its* copy of sys_cfg to call
    self.distro.get_package_mirror_info
  and *that* distro's sys_cfg had not been updated.

749. By Scott Moser on 2012-12-16

Add 'omnibus' install mode for chef

This adds 'omnibus' to the values supported for chef's "omnibus_url" config
option. It also:
 * makes 'omnibus_url' configurable in cloud-config.
 * adds a 'force_install' flag, to allow the install code to
   act even if /usr/bin/chef-client is already present.

748. By Craig Tracey on 2012-12-14

Provide a mechanism for puppet to be conditionally installed.

Instead of always installing puppet give users the ability to opt-out.

747. By Scott Moser on 2012-12-06

cloudinit/stages.py: separate _read_base_cfg() into static function

The Init._read_base_cfg() was really a static function, this just moves
it to its own static function. Its not used anywhere else at the moment.

746. By Joshua Harlow on 2012-12-04

write-ssh-key-fingerprints: use logger -s rather than --stderr

--stderr would be preferred for readability, but older versions of
logger do not support the long form. Use the short form for compatibility.

745. By Scott Moser on 2012-12-04

ChangeLog: mention fix of lp:1079002

744. By Scott Moser on 2012-12-02

make sure no blank lines before cloud-init entry in ca-certificates.conf

when /etc/ca-certificates.conf is read by update-ca-certificates
lines after a blank line get ignored. Here, ensure that
there are no blank lines, and no duplicate entries for cloud-init are
added.

743. By Scott Moser on 2012-11-20

fix "resize_root: noblock"

resize_root: noblock
has been broken in the 0.7.0 series. Using it would disable resizing.

Branch metadata

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

Subscribers