We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@stevendanna introduced a couple of updates for our OS detection: inspec/train#126. This PR changes the way we get os information:
# old @platform[:family] = 'centos' # new @platform[:name] = 'centos' @platform[:family] = 'redhat'
latest
We should prefer to use dynamic methods like inspec.os.linux? or inpsec.os.debian? in our resource implementations. In addition we need to update the mock helper to reflect the changes: https://github.com/chef/inspec/blob/master/test/helper.rb#L40-L59
inspec.os.linux?
inpsec.os.debian?
The text was updated successfully, but these errors were encountered:
In addition, we need to ensure that Amazon Linux is supported, since this is now its own family.
Sorry, something went wrong.
No branches or pull requests
Description
@stevendanna introduced a couple of updates for our OS detection: inspec/train#126. This PR changes the way we get os information:
InSpec and Platform Version
latest
Possible Solutions
We should prefer to use dynamic methods like
inspec.os.linux?
orinpsec.os.debian?
in our resource implementations. In addition we need to update the mock helper to reflect the changes: https://github.com/chef/inspec/blob/master/test/helper.rb#L40-L59The text was updated successfully, but these errors were encountered: