summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-07-09fill out load_azure_ovf_pubkeysScott Moser
now if there are pubkeys, the cfg['_pubkeys'] entry will have a list of dicts where each dict has 'fingerprint' and 'path' entries. The next thing to do is to block waiting for the <fingerprint>.crt files to appear in /var/lib/waagent.
2013-07-09mention using cachedScott Moser
2013-07-09search in the default storage directory for cached ovf-env.xmlScott Moser
since azure ejects the disk on reboot, we need to look there to find this datasource.
2013-07-09populate /var/lib/waagent with ovf-env.xmlScott Moser
this will copy the ovf-env.xml file that was found to the configured directory (default /var/lib/waagent)
2013-07-09better handling for user/passwordScott Moser
2013-07-09add stub for ssh keysScott Moser
The idea is that in the future, the DataSources get_data could check to see if there were ssh keys provided. if there were, it could poll and wait (or inotify) until the <fp>.crt files appeared in the /var/lib/walinux directory. Once they did, it'd populate the metadata's public keys.
2013-07-09add azure to ds listScott Moser
2013-07-09merge from trunkScott Moser
2013-07-09re-enable test case because 1124384 is fixedScott Moser
2013-07-09handlers/upstart_job.py: invoke reload-configuration if we can.Scott Moser
Previously we'd not invoked reload-configuration because doing so caused issues with upstart. Now, instead, determine if we can invoke it. LP: #1124384
2013-07-09add some unit tests, fix things found by doing soScott Moser
2013-07-08merge from trunkScott Moser
2013-07-08fix test_nocloud testcaseScott Moser
2013-07-08commit dev stateScott Moser
2013-06-20fix and tidy up logexc usageJuerg Haefliger
Some of the usages of logexc contain incorrect arguments to logexc. cloudinit/config/cc_ssh_import_id.py cloudinit/distros/__init__.py The tidy up here is to fix many others that pass rendered strings to logexc rather than letting it handle rendering at a later date (or not at all in the case where logging is disabled).
2013-06-19fix pep8 errors.Juerg Haefliger
2013-06-19fix and cleanup usage of util.logexcJuerg Haefliger
2013-06-07ConfigDrive, Nocloud: Apply the "poke /dev/sr0" approach to /dev/sr1 alsoGreg Padgett
Optical drives may show up in RHEL systems as /dev/sr1; this extends a prior fix to handle that use case. It's applicable to systems with 2.6 kernels where blkid needs a little prodding. If we have to go back here with '/dev/sr2', then we should probably come up with a fix that doesn't doesn't make us come back again.
2013-06-07DataSourceOVF: small fix for iso9660 transportScott Moser
This is not really a problem, because nothing would call transport_iso9660 with 'require_iso' as False, but if it did, then we would have still required iso9660 filesystem on the mount.
2013-06-04support optical drives with dev node /dev/sr1Greg Padgett
Extend a prior fix which helped discovery of media on systems using 2.6 kernels. /dev/sr0 covers only some of the use cases, /dev/sr1 is also common.
2013-05-20Fix chef omnibus installation support.Chris Wing
LP: #1182265
2013-05-20open 0.7.3Scott Moser
2013-05-20Fix Chef client 'omnibus' install; util.write_file() expects a string not ↵Chris Wing
UrlResponse
2013-05-16remove executable on logo.svgScott Moser
2013-05-15mention new merge format in ChageLogScott Moser
2013-05-13Fix how the 'dist' is incorrectly returned when patching the os functions.Joshua Harlow
2013-05-13Fix how python 2.6 was broken due to new dict syntax.Joshua Harlow
Said syntax doesn't exist in RHEL since it is new to 2.7.
2013-05-10Fixed merging capabilities.Scott Moser
Instead of previously having merging which was not backwards compatible with the 0.7.1 and prior methods this patch works to ensure said backwards compatible while at the same time making the new merging functionality work in a more customizable manner.
2013-05-10fix pylintScott Moser
2013-05-10fix pep8Scott Moser
2013-05-09Allow lists to have no_replace option.Joshua Harlow
2013-05-09Adjust comment on why we are merging cloud config the way we are.Joshua Harlow
2013-05-09Fix the cloud config merging so that it is backwards compat.Joshua Harlow
The new change for merging works well in the mergedict case but the default merging type for cloud config needs to reflect how yaml was loaded in bulk, which is the same as the replacing keys merging type that is now provided.
2013-05-071 more test that does some list appending.Joshua Harlow
2013-05-07A few more test files.Joshua Harlow
2013-05-04Add a set of randomized (seeded) dict tests.Joshua Harlow
2013-05-03Fix a feature that doesn't yet exist on python 2.6Joshua Harlow
2013-05-03A few pep8/pylint cleanups.Joshua Harlow
2013-05-03Rename the merge cc sample function name.Joshua Harlow
2013-05-03A few more tests + cleanings.Joshua Harlow
2013-05-03More merging adjustments.Joshua Harlow
Looks like this should be in pretty good shape and has passed some of the basic backwards compat. merging tests that I added.
2013-04-25Fix issue in readurl with requests, support passing through headers_cbScott Moser
This adds the 'headers_cb' option to pass all the way through to readurl. It also makes requests for user-data not retry (as a 404 indicates "no user-data"). LP: #1172742
2013-04-25fix testScott Moser
2013-04-25re-work maas datasource and headers call backsScott Moser
Couple of things here: * do not re-try on user-data (404 means 'not here') * re-generate headers on retry requests LP: #1172742
2013-04-23Add a bunch of new merging test files + runner.Joshua Harlow
2013-04-22Continue working on merging.Joshua Harlow
2013-04-18Remove str merging for now.Joshua Harlow
2013-04-18Pull from head and a couple more tweaks.Joshua Harlow
2013-04-18Adjust how merging is done.Joshua Harlow
2013-04-17Handle namespacing issues in merger.Scott Moser
Move from using the inbuilt type names (str, dict) as module names which is a bad thing to use it appears due to naming conflicts in the __init__ module and reduce the chances of these conflicts by enforcing a m_ prefix for merging modules.