lp:~harlowja/cloud-init/ensure-sudo-dir-ready

Created by Joshua Harlow and last modified
Get this branch:
bzr branch lp:~harlowja/cloud-init/ensure-sudo-dir-ready
Only Joshua Harlow can upload to this branch. If you are Joshua Harlow please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Joshua Harlow
Project:
cloud-init
Status:
Merged

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.

678. By Joshua Harlow

Update the log statement used here to be
a little more relevant.

677. By Joshua Harlow

Dir should be 0755, not 0440

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.

675. By Scott Moser

make DataSourceMAAS 'main()' use load_yaml

674. By Scott Moser

fix pep8 and pylint

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.

672. By Joshua Harlow

rpm spec and rpm build, better handle case with no package_mirrors

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
This branch contains Public information 
Everyone can see this information.

Subscribers