cloud-init/cloudinit
Scott Moser 89679670fb rework package mirror selection
There are several changes here.
 * Datasource now has a 'availability_zone' getter.
 * get_package_mirror_info
   * Datasource convenience 'get_package_mirror_info' that calls
     the configured distro, and passes it the availability-zone
   * distro has a get_package_mirror_info method
   * get_package_mirror_info returns a dict that of name:mirror
     this is to facilitate use of 'security' and 'primary' archive.
   * this supports searching based on templates.  Any template
     that references undefined values is skipped.  These templates
     can contain 'availability_zone' (LP: #1037727)
   * distro's mirrors can be arch specific (LP: #1028501)
 * rename_apt_lists supports the "mirror_info" rather than single mirror
 * generate_sources_list supports mirror_info, and as a result, the
   ubuntu mirrors reference '$security' rather than security (LP: #1006963)
 * remove the DataSourceEc2 specific mirror selection, but instead
   rely on the above filtering, and the fact that 'ec2_region' is only
   defined if the availability_zone looks like a ec2 az.
2012-08-22 00:28:29 -04:00
..
config rework package mirror selection 2012-08-22 00:28:29 -04:00
distros rework package mirror selection 2012-08-22 00:28:29 -04:00
handlers walker_callback: fix traceback on empty payload. 2012-07-12 15:51:02 -04:00
sources rework package mirror selection 2012-08-22 00:28:29 -04:00
__init__.py remove warning message to console on empty user-data 2012-06-28 13:10:56 -04:00
cloud.py rework package mirror selection 2012-08-22 00:28:29 -04:00
helpers.py Return a more useful name for the file lock (which shows what file is being locked). 2012-07-09 20:34:10 -07:00
importer.py 1. Add an importer function that will search for a given module in a set of search module 'prefixes' 2012-06-20 23:40:00 -07:00
log.py Remove the usage of set,list,dict and use the collections 2012-07-10 16:13:34 -07:00
netinfo.py Readd the original prefix to the netinfo (if provided). 2012-06-29 12:28:44 -07:00
settings.py Add a 'none' datasource as a last resort fallback 2012-08-19 22:28:14 -07:00
ssh_util.py Add support for printing out the authkey's for the default user. 2012-08-18 21:15:52 -07:00
stages.py Fixes 1012854 by implementing file writing, adjusts 2012-07-10 17:06:45 -07:00
templater.py Revert back to using cheetah + adjust resultant code + templates 2012-07-09 16:41:45 -04:00
url_helper.py url_helper.py, cc_rightscale_userdata.py: reduce WARN to DEBUG 2012-07-09 16:52:44 -04:00
user_data.py Fixes 1012854 by implementing file writing, adjusts 2012-07-10 17:06:45 -07:00
util.py add protection against dns-redirection to is_resolvable 2012-08-06 15:59:41 -04:00
version.py Added a python file which can be used internally to determine the version of cloud init that is running for internal messaging, if desired 2012-06-15 17:39:42 -07:00