lp:~harlowja/cloud-init/group-dict-fix
- Get this branch:
- bzr branch lp:~harlowja/cloud-init/group-dict-fix
Branch merges
- cloud-init Commiters: Pending requested
-
Diff: 77 lines (+50/-4)2 files modifiedcloudinit/distros/__init__.py (+28/-4)
tests/unittests/test_distros/test_user_data_normalize.py (+22/-0)
Related bugs
Bug #1077245: Group configuration not allowing members | Undecided | Fix Released |
|
Related blueprints
Branch information
Recent revisions
- 707. By Joshua Harlow
-
Fix the merging of group configuration
when that group configuration is a dict => members. - 704. By Joshua Harlow
-
Fix the fqdn/hostname case for rhel and ubuntu
where rhel uses the fqdn for its config while
ubuntu uses the short hostname. - 703. By Joshua Harlow
-
Merge fix for distro config not being
reflected when running in the init stage
after user-data has been loaded. - 702. By Scott Moser
-
improve zsh support in tools/Z99-
cloud-locale- test.sh This change does 3 things:
* revert the fix from revno 697
* minor clean up some local variable usage and definition
* make Z99-cloud-locale- test.sh actually work when shell is zsh the last is done by detecting if this is zsh, and if so, changing the zsh
behavior for this function to emulate sh. As a result of the '-L' in
'emulate -L sh', we have no negative affect on the user's shell. - 700. By Joshua Harlow
-
test and path cleanups.
1. Remove the usage of the path.join function now that all code should
be going through the util file methods (and they can be mocked out as
needed).
2. Adjust all occurences of the above join function to either not use it
or replace it with the standard os.path.join (which can also be mocked
out as needed)
3. Fix pylint from complaining about the tests folder 'helpers.py' not
being found.
4. Add a pylintrc file that is used instead of the options hidden in the
'run_pylint' tool. - 699. By Scott Moser
-
Add a more generic package install mechansim
This splits code in apt_update_upgrade into 'apt-update-
upgrade' and
'apt-configure' and 'package-update- upgrade- install' .
The 'package-update- upgrade- install' then uses the generic distro
package mechanisms for acheiving the same goal.Also, adjusts some of the reboot backoffs and log flushing/sleeping that was
happening there. - 698. By Joshua Harlow
-
support unicode in user-data input of unknown types
Fix the case where a unknown type is seen and it has contents which are in
unicode. That caused python to blow-up when this happens since
'string-escape' doesn't work on unicode (at least in 2.6).
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~cloud-init-dev/cloud-init/trunk