HomePhorge

Move group management into providers
1edf767dccc4Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Move group management into providers

Move provider-specific logic from the file group property to the posix
file provider. For example, mapping group IDs to names and vice-versa
is provider specific, but detecting if the property value is insync?
is common across all file providers.

Modify the windows file provider to allow getting and setting the
group via its 'group' and 'group=' methods. Also, on Windows the file
owner can be a group, and the file group can be a user, so the same
method for mapping names and SIDs can be used for both owner and
group.

Added test cases where there weren't any.

Details

Provenance
Nick Lewis <nick@puppetlabs.com>Authored on
Josh Cooper <josh@puppetlabs.com>Committed on Sep 27 2011, 8:18 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU15149c10902b: Remove duplicate SID resolution code
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU1edf767dccc4: Move group management into providers (authored by Nick Lewis <nick@puppetlabs.com>).Sep 27 2011, 8:18 PM