-
Notifications
You must be signed in to change notification settings - Fork 58
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
file content doesn't work properly #244
Comments
please let me know if any other information is needed. |
In your example, you use You may want to try:
Or use a regexp
You can find all the docs on our matchers here: Please let us know if you're still having issues with the file resource. |
for sure will give a try. however I think it is more some additional text added to the string from ssh session |
Ok. I think this issue is something in kitchen-inspec rather than inspec. |
Is there a way to get more verbose output from kitchen runs to get more details from the verification stage? |
Describe the problem
When run kitchen verify it reports that content of the file is not matching. However when I check file content manually - the content is right. Seems when kitchen verify is fetching content of the file it appends ssh last login information to the content of the file:
The check:
Failure:
chef dk version I use:
And here is my OS:
The text was updated successfully, but these errors were encountered: