Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-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-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-17 | adds support for SLES plus some basic unittests. | Juerg Haefliger | |
Some code from the RHEL handler was moved to a new file so that it can be used by the SLES handler. | |||
2013-07-17 | plain text password of '' or None should not trigger setting | Scott Moser | |
2013-07-17 | fix indentation a bit in Makefile | Scott Moser | |
2013-07-17 | merge from trunk | Scott Moser | |
2013-07-17 | Azure: make /var/lib/waagent with 0700 perms | Scott Moser | |
The walinux agent expects that the files it writes with 0644 (default umask) permissions are not globally readable. Since we were creating the directory for it, and using default umaks (0755), the files inside were readable to non-priviledged users. | |||
2013-07-17 | DataSourceAzure: fix inverted logic on DisablesshPasswordAuthentication | Ben Howard | |
DisablesshPasswordAuthentication == True means that ssh_pwauth should be disabled rather than enabled. LP: #1201969 | |||
2013-07-16 | Use the inverse of DisableSshPasswordAuthentication for ssh_pwauth. | Ben Howard | |
(LP: 1201969) | |||
2013-07-11 | DataSourceAzure.py: allow 'customdata' to be the name for userdata | Scott Moser | |
Also, fix a comment and write a log message on how long we waited for the files to appear. | |||
2013-07-11 | test_builtin_handlers.py: fix pylint | Scott Moser | |
2013-07-11 | upstart_job.py: fix pylint and bad bad variable in _has_suitable_upstart | Scott Moser | |
2013-07-10 | add Azure datasource | Scott Moser | |
This datasource is not perfect at this point, but is tested on raring. It expects that walinuxagent config is set to disable provisioning (Provisioning.Enabled=n) and also that walinuxagent will not start otherwise (ie 'echo manual | sudo tee /etc/init/walinuxagent.override). | |||
2013-07-10 | add waiting for files and reading of crt keys | Scott Moser | |
2013-07-09 | build up the 'wait_for' list including fingerprint.crt files | Scott Moser | |
2013-07-09 | fill out load_azure_ovf_pubkeys | Scott 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-09 | mention using cached | Scott Moser | |
2013-07-09 | search in the default storage directory for cached ovf-env.xml | Scott Moser | |
since azure ejects the disk on reboot, we need to look there to find this datasource. | |||
2013-07-09 | populate /var/lib/waagent with ovf-env.xml | Scott Moser | |
this will copy the ovf-env.xml file that was found to the configured directory (default /var/lib/waagent) | |||
2013-07-09 | better handling for user/password | Scott Moser | |
2013-07-09 | add stub for ssh keys | Scott 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-09 | add azure to ds list | Scott Moser | |
2013-07-09 | merge from trunk | Scott Moser | |
2013-07-09 | re-enable test case because 1124384 is fixed | Scott Moser | |
2013-07-09 | handlers/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-09 | add some unit tests, fix things found by doing so | Scott Moser | |
2013-07-08 | merge from trunk | Scott Moser | |
2013-07-08 | fix test_nocloud testcase | Scott Moser | |
2013-07-08 | commit dev state | Scott Moser | |
2013-06-27 | Fix SLES zypper command usage | Juerg Haefliger | |
2013-06-27 | Remove 'Copyright SUSE' from the headers | Juerg Haefliger | |
Per discussion with Robert @ SUSE since he can't sign the CCA. | |||
2013-06-27 | Add support for building a SLES rpm package | Juerg Haefliger | |
2013-06-26 | Use short option names for passwd utilities | Juerg Haefliger | |
SLES 11 doesn't support long option names for the passwd utilities. Use the short option names in the parent distro class and remove the custom SLES methods. | |||
2013-06-25 | Add unit tests for SLES handler | Juerg Haefliger | |
2013-06-25 | Add SLES hosts template file | Juerg Haefliger | |