Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-10-23 | move default user info out of code and into config | Scott Moser | |
Remove the need to have 'default_user' and 'default_user_groups' groups be hard coded into the distro class, instead let that set of configuration be located in the config file where it should be specified instead. | |||
2012-10-05 | Pylint cleanups. | Joshua Harlow | |
2012-10-05 | Add tests to show that the assigned bug is fixed. | Joshua Harlow | |
Also fix the extraction of the metadata key name since it actually uses 'dashes' instead of being a single word. | |||
2012-09-28 | Sync with head and fix conflicts. | Joshua Harlow | |
2012-09-28 | Rework the rest of the locations that used | Joshua Harlow | |
the previous 'user' and make those locations go through the new distros functions to select the default user or the user list (depending on usage). Adjust the tests to check the new 'default' field that signifies the default user + test the new method to extract just the default user from a normalized user dictionary. | |||
2012-09-28 | add 'safeyaml' to cloudinit | Scott Moser | |
In 0.7.0 we started using yaml.safe_load to load data rather than yaml.load. Some producers (namely, ubuntu MAAS created) have produced cloud-config data in the past that included python unicode types. This creates a specialized safe_loader that is basically safe_load + support for python unicode. | |||
2012-09-27 | cleanup the user/group lists | Joshua Harlow | |
The primary utility here is normalize_user_groups, which would be called by config modules to get a list of users or groups. This centralizes what was copied code into this one location. | |||
2012-09-25 | add tests for netcfg code | Joshua Harlow | |
2012-09-25 | Fix tests after resync with head. | Joshua Harlow | |
2012-09-24 | Handle the case where 'user' is defined but 'users' isn't. | Joshua Harlow | |
2012-09-24 | Fix pylint issues created. | Joshua Harlow | |
2012-09-24 | Add a netconfig format test + if rhel is passed the 'all' | Joshua Harlow | |
device name, throw an error since rhel can not currently handle this case. | |||
2012-09-24 | Refactor the ug normalization to take in a distro | Joshua Harlow | |
and produce a user and group list. Clean this up to be simpler as well as handle the old 'user' case when it exists in configuration. | |||
2012-09-23 | Make the normalization a module level function | Joshua Harlow | |
since it has little dependence on the distros class itself. Readjust the using code to use this new module level function instead. | |||
2012-09-21 | Fix some docs + pylint warnings + log on default created in the module. | Joshua Harlow | |
2012-09-21 | Also allow the user list to come in as a comma | Joshua Harlow | |
separated list so that its types match more of what the group list can be. | |||
2012-09-21 | Actually commit the test for user/group data | Joshua Harlow | |
normalization instead of forgetting about it. | |||
2012-09-01 | improvements for launch index, one fix for cloud-archive | Joshua Harlow | |
1. Docs for launch-index + examples 2. Tests for launch-index + data files 3. Fixing a bug with cloud-archive yaml types allowed (likes a tuple not a list for some reason) (LP: #1044594) 4. Setting the 'part' content-type if what we actually use is different. LP: #1044594 | |||
2012-08-31 | Fix pylint complaints. | Joshua Harlow | |
2012-08-31 | 1. Add a helper for tests to use to load resource/data files from | Joshua Harlow | |
2. Add a set of tests+data that ensure the launch index filtering works as expected in the various modes including raw yaml and via mime/email message formats. | |||
2012-08-24 | fix test case for copy of uuid -> instance-id | Scott Moser | |
2012-08-24 | committing in preparation for actual test | Scott Moser | |
2012-08-23 | some more tests. | Scott Moser | |
2012-08-23 | fix pep8 and pylint | Scott Moser | |
2012-08-23 | initial functional unit test | Scott Moser | |
2012-08-22 | merge from trunk for pep8 fixes | Scott Moser | |
2012-08-22 | fix pep8 complaints. | Scott Moser | |
make pep8 now is silent on precise's pep8 ( 0.6.1-2ubuntu2). | |||
2012-08-22 | add test | Scott Moser | |
2012-08-14 | Add RHEVm and vSphere support as datasource AltCloud | Scott Moser | |
These changes add a new data source to cloud-init to support passing user data to RHEVm and vSphere. The user data is passed to RHEVm v3.0 (current version) using a floppy injection hook and to vSphere via cdrom device. RHEVm v3.1 will use a method similar to vSphere. Once available support for that is also expected. | |||
2012-08-13 | add test to excercise udevadm usage. | Joe VLcek | |
2012-08-10 | Address review feedback for: | Joe VLcek | |
https://code.launchpad.net/~joev-n/cloud-init/altcloud-changes/+merge/116542/comments/255564 https://code.launchpad.net/~joev-n/cloud-init/altcloud-changes/+merge/116542/comments/255565 | |||
2012-08-09 | stright forward pylint cleanups to tests/ and tools/ | Scott Moser | |
2012-08-09 | test_util: add pylint ignore for FakeSelinux | Scott Moser | |
The methods here have to match the real Selinux signiture, so even though we dont use these variables. | |||
2012-08-08 | Address review feedback for: | Joe VLcek | |
https://code.launchpad.net/~joev-n/cloud-init/altcloud-changes/+merge/116542 | |||
2012-07-20 | Add retry logic to DataSourceAltCloud | Joe VLcek | |
2012-07-17 | Added RHEVm and vSphere support as source AltCloud | Joe VLcek | |
2012-07-02 | Add a sample yaml config to be used for testing. | Joshua Harlow | |
2012-06-29 | Refactor the selinux guard to aid in mocking | harlowja | |
1. Adjust the test_util after this mocking to be cleaner | |||
2012-06-29 | Add a test that ensures the upstart handler does not output files when in ↵ | Joshua Harlow | |
non-per-instance mode. | |||
2012-06-28 | 1. Update with smosers code review and comments (and put some of those ↵ | Joshua Harlow | |
comments into the files) 2. Rename consume() to consume_userdata() as it helps in figuring out what this does. 3. Fixup the tests due to #2 | |||
2012-06-22 | Adjust test for turning off capturing | Joshua Harlow | |
2012-06-21 | Fixup python selinux guards, only try to restore after we check if its ↵ | harlowja | |
useful to restore, fix test to work with selinux enabled sysystems | |||
2012-06-21 | Get this test working again. | Joshua Harlow | |
2012-06-21 | Get both of these tests back in working shape. | Joshua Harlow | |
2012-06-21 | Missed some other mkdtemp and rmtree calls no longer needed | Joshua Harlow | |
2012-06-21 | Use the mocker built-in method for creating temporary dirs (which it will ↵ | Joshua Harlow | |
cleanup) | |||
2012-06-21 | 1. Got this test working again using the new code. | Joshua Harlow | |
2. Adjusted so that instead of capturing all logging, only a certain level is captured (now that we have lots more logging) | |||
2012-06-21 | This is now functional and all passing again | Joshua Harlow | |
2012-04-04 | initial checkin of kernel commandline cloud-config url support | Scott Moser | |
2012-03-16 | add supprot for reading public-keys from DataSourcMAAS | Scott Moser | |