Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-07-26 | azure: fix bouncing of interface | Scott Moser | |
the environment that was set up to include 'interface' was not actually being passed on to 'subp', so when the command ran it wasn't available. | |||
2013-07-25 | add debian init scripts | Scott Moser | |
These are debian's init scripts as taken from their trunk svn as of today. Thanks Juerg. | |||
2013-07-25 | add --init-sytem to ./packages/bddeb | Scott Moser | |
this way you can now do ./package/bddeb --init-system=sysvinit_deb | |||
2013-07-25 | pull in fixes for debian bug 712985 | Scott Moser | |
2013-07-25 | minor azure cleanup | Scott Moser | |
2013-07-25 | azure: support bouncing interfaces to publish new hostname | Scott Moser | |
See the added doc/sources/azure/README.rst for why this is necessary. Essentially, we now are doing the following in the get_data() method of azure datasource to publish this NewHostname: hostname NewHostName ifdown eth0; ifup eth0 LP: #1202758 | |||
2013-07-24 | update dependencies for jsonpatch | Scott Moser | |
2013-07-24 | tests: fix pep8 issue | Scott Moser | |
Move long lines out of the test_util.py file and into tests/data. no pep8 or pylint errors now. | |||
2013-07-24 | add test case for mime gzipped message segments | Joshua Harlow | |
2013-07-24 | Fix small prefix bug + jsonp tests. | Joshua Harlow | |
Fix the wrong usage of the prefix removal array action by just using the new util function that does these actions correctly. Add in a couple of unit tests to verify the jsonp merging and usage works as expected. | |||
2013-07-24 | Add support for merging via jsonp patch format. | Joshua Harlow | |
This adds a very well defined and understood mechanism for applying changes to the cloud-config. Had we seen this previously, we might have not done the merge-types work. | |||
2013-07-24 | rename CC_JSONP_PRE again (JSONP_PREFIX) and use CLOUD_PREFIX | Scott Moser | |
2013-07-24 | change 'json-patch' to 'cloud-config-jsonp' | Scott Moser | |
2013-07-24 | merge from trunk | Scott Moser | |
2013-07-24 | DataSourceSmartOS: fix issue if dmidecode is not present | Scott Moser | |
2013-07-24 | add SmartOS datasource supporting Joyent cloud | Ben Howard | |
This adds a datasource designed to work on Joyent cloud (SmartOS). | |||
2013-07-24 | shorten comments in example cloud-config | Scott Moser | |
2013-07-24 | Add test for mime gzipped message segments. | Joshua Harlow | |
2013-07-23 | Added blurb to documentation about the datasource | Ben Howard | |
2013-07-23 | Changed get_serial to be fully parameterized and return the serial | Ben Howard | |
initialized. Added a mapping of attributes between cloud-init and smartos. | |||
2013-07-23 | on azure datasource, grab use Deployment as the instance-id | Scott Moser | |
LP: #1204190 | |||
2013-07-23 | Move more functionality into get_serial() | Ben Howard | |
2013-07-23 | alias 'availability_zone' to availability-zone in metadata service. | Scott Moser | |
The place this was noticed was in trying to use the 'nova.clouds.archive.ubuntu.com' mirror selection. Because the config-drive-v2 has a metadata entry of 'availability_zone', it didn't get found by the availabilty_zone property in cloudinit/sources/__init__.py LP: #1190431 | |||
2013-07-23 | use constants for startswith in handlers. add strip_prefix_suffix. | Joshua Harlow | |
Just cleans up some repeated strings into module constants + a util function to do the boothook prefix cleanup (before writing). | |||
2013-07-23 | finalize handlers even when another handler fails. | Joshua Harlow | |
Instead of previously initializing and not finalizing the handles that completed successfully when a handler initializing or running failed we should attempt to always give said handlers a chance to finalize (even when another handler fails). LP: #1203368 | |||
2013-07-23 | allow individual MIME segments to be gzip compressed | Joshua Harlow | |
this will automatically decompress individual MIME segments if they are compressed. LP: #1203203 | |||
2013-07-23 | bump version in cloudinit/version.py | Scott Moser | |
2013-07-23 | Fix password setting for rhel5. | Scott Moser | |
Changing password via 'chpasswd' command in rhel5 would fail, if input to the 'chpasswd' command doesn't end with '\n'. The fix is just to append a carriage return to the input. | |||
2013-07-21 | Ensure what we are searching over is a directory. | Joshua Harlow | |
2013-07-21 | Also make the dir handler registration a simple function. | Joshua Harlow | |
2013-07-21 | Just use an initialized array. | Joshua Harlow | |
2013-07-21 | Use a util helper to do prefix/suffix removal. | Joshua Harlow | |
2013-07-21 | Use constants for repeated type strings. | Joshua Harlow | |
2013-07-20 | Just check the filename existing. | Joshua Harlow | |
2013-07-20 | Unify filename, header replacement. | Joshua Harlow | |
2013-07-20 | Keep filename from original part. | Joshua Harlow | |
2013-07-20 | Ensure we reset the part after decompression. | Joshua Harlow | |
2013-07-20 | Remove return not used. | Joshua Harlow | |
2013-07-20 | Also handle custom handlers correctly. | Joshua Harlow | |
LP: #1203368 | |||
2013-07-20 | Update comments + link to bug. | Joshua Harlow | |
LP: #1203368 | |||
2013-07-20 | Init and finalize refactor. | Joshua Harlow | |
Instead of previously initializing and not finalizing the handles that completed successfully when a handler initializing or running failed we should attempt to always give said handlers a chance to finalize (even when another handler fails). | |||
2013-07-20 | Bump the version. | Joshua Harlow | |
LP: #1203364 | |||
2013-07-20 | Ensure we remove the same way we detect. | Joshua Harlow | |
2013-07-20 | Remove json-patch inclusion header if payload contains it. | Joshua Harlow | |
2013-07-20 | Fix constant move. | Joshua Harlow | |
2013-07-20 | Fix content-type constant. | Joshua Harlow | |
2013-07-20 | Add usage of '#json-patch' | Joshua Harlow | |
2013-07-19 | Add the ability to merge with jsonpatch. | Joshua Harlow | |
Jsonpatch is a new RFC standard for merging json-like structures which the cloud-init cloud-config is one such structure. To use this in a limited fashion (to start) add the ability for the cloud-config handler to accept this content-type and use it as an alternate way to merge new cloud-config sections into the accumulated cloud-config. LP: #1200476 | |||
2013-07-19 | Add the ability to decompress MIME gzip. | Joshua Harlow | |
Instead of being restricted to only gzip compressing the overall mime segment or individual included segments, allow for each mime segment to be gzip compressed. LP: #1203203 | |||
2013-07-19 | move redhat sysvinit scripts | Juerg Haefliger | |