Skip to content
New issue

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

Docs for command use eq instead of match #502

Closed
tas50 opened this issue Feb 26, 2016 · 4 comments
Closed

Docs for command use eq instead of match #502

tas50 opened this issue Feb 26, 2016 · 4 comments
Labels
Aspect: Docs Write the Fine Manual Type: Bug Feature not working as expected

Comments

@tas50
Copy link
Contributor

tas50 commented Feb 26, 2016

The docs for command seem to show a regex against stdout, but they're doing it with eq and the regex in quotes. This doesn't seem to work. Changing the commands over to match seems to resolve it.

@chris-rock
Copy link
Contributor

@tas50 could you add a reference where you see the error?

@tas50
Copy link
Contributor Author

tas50 commented Feb 29, 2016

@chris-rock
Copy link
Contributor

@tas50 awesome find. Would you like to compose a PR to fix that?

@chris-rock chris-rock added Type: Bug Feature not working as expected Aspect: Docs Write the Fine Manual labels Mar 3, 2016
@chris-rock
Copy link
Contributor

This is fixed in latest documentation https://github.com/chef/inspec/blob/master/docs/resources.rst#examples-7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Aspect: Docs Write the Fine Manual Type: Bug Feature not working as expected
Projects
None yet
Development

No branches or pull requests

2 participants