inspec/test/unit/mock
Jerry Aldrich c2a65942d9 Add support for Darwin Directory Service groups (#2403)
* Add support for Darwin Directory Service groups

This allows users to verify groups added by Chef on OS X.

The current method that `UnixGroup` uses is to check the contents of
`/etc/group`, but OS X adds groups to Directory Service and not
`/etc/group`. This modifies the `group` resource on Darwin to use
`dscacheutil` to get group info.

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>

* Clean up `select_group_manager`

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>

* Clean up DarwinGroup `groups` method

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2017-12-20 16:57:45 +01:00
..
cmd Add support for Darwin Directory Service groups (#2403) 2017-12-20 16:57:45 +01:00
files Allow crontab resource to read crontab at user specified paths. (#2328) 2017-12-07 13:50:07 +01:00
profiles Allow inspec check to ignore only_if (#2250) 2017-12-05 14:13:41 +01:00