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

Viewing all changes in revision 752.

  • Committer: Joshua Harlow
  • Date: 2012-12-18 07:40:48 UTC
  • Revision ID: harlowja@gmail.com-20121218074048-wvk12hq1i086rf9i
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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: