inspec/lib
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
..
bundles Reworked Resource.__register's metaprogramming to be as small as possible. 2020-02-03 14:41:37 -08:00
inspec Add the generic 'darwin' to the service resource 2020-07-02 09:36:27 -04:00
matchers Added --inspect option to inspect shell command. 2020-01-28 14:52:04 -08:00
plugins Ignore intermittent test teardown error 2020-06-26 09:23:21 +01:00
resource_support Tweak for aws resources to determine if they're still under test. 2020-02-03 14:41:37 -08:00
resources Switched chefstyle back to Layout/AlignArguments=with_first_argument. 2019-11-08 12:57:43 -08:00
source_readers When archiving with --airgap, warm the vendor cache from any available local archives 2020-01-03 14:15:04 -05:00
inspec.rb Make inspec much faster for most commands. 2019-09-04 15:44:26 -07:00