lp:~harlowja/cloud-init/ensure-sudo-dir-ready
- Get this branch:
- bzr branch lp:~harlowja/cloud-init/ensure-sudo-dir-ready
Branch merges
- cloud-init Commiters: Pending requested
-
Diff: 63 lines (+35/-2)1 file modifiedcloudinit/distros/__init__.py (+35/-2)
Related bugs
Bug #1058426: Sudo dir not included/made ready before usage. | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 679. By Joshua Harlow
-
Ensure that the include dir starts the line
and is not a part of a comment or other
part of the line. - 676. By Joshua Harlow
-
Ensure that the directory where the sudoers
file is being added actually exists before it
is written into and ensure that the directory
is included in the main sudoers file. - 673. By Scott Moser
-
add 'safeyaml' to cloudinit
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. - 671. By Scott Moser
-
restart salt-minion instead of start.
Packages on debian/ubuntu should start on installation. As a result, if we
want to get config changes we've inserted to be read, we need to restart.Note one interesting thing here.
upstart considers 'restart' as "restart only if currently running", while
'service' considers restart to be "stop if running, then start". So the use of
'service' here is important, rather than just 'restart' - 670. By Joshua Harlow
-
cleanup the user/group lists
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.
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