inspec/test
Bryan McLellan dada8ea074 Add the generic 'darwin' to the service resource
macOS 11 Big Sur will be released later this year. Current beta versions
return 10.16 as the version, but the product name has changed from 'Mac
OS X' to 'macOS'. Train probably needs to be modified to deprecate
'mac_os_x' as a platform in favor of 'macos' but that would be a
significant downstream change. Train does fall back to 'darwin' on macOS
10.16, so by adding darwin to the list of platform names for the service
resource we are able to work around this for the moment.

This is the only location where mac_os_x is currently being used in
InSpec. Because we're in a case statement on platform rather than the
more generic platform family, we can't simply remove mac_os_x in favor
of darwin.

Signed-off-by: Bryan McLellan <btm@loftninjas.org>
2020-07-02 09:36:27 -04:00
..
artifact Fix artifact-habitat testing for inspec. 2020-02-10 18:34:00 -08:00
fixtures Add an heuristic-based IP lookup property 2020-06-18 15:37:19 -04:00
functional Review skip_windows violations and expiration 2020-07-02 11:53:38 +01:00
helpers Add the generic 'darwin' to the service resource 2020-07-02 09:36:27 -04:00
integration Test kitchen setup to test detection of audit-cookbook 2020-05-25 21:00:24 -04:00
kitchen Refactor os_prepare cookbook to split out inspec installation 2020-05-25 21:00:24 -04:00
unit Add the generic 'darwin' to the service resource 2020-07-02 09:36:27 -04:00
helper.rb Review skip_windows violations and expiration 2020-07-02 11:53:38 +01:00