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

inspec fails to determine file_version for a file on a windows 2012R2 #858

Closed
tejas-shah opened this issue Aug 2, 2016 · 1 comment · Fixed by inspec/train#127 or #880
Closed
Assignees
Labels
Type: Bug Feature not working as expected
Milestone

Comments

@tejas-shah
Copy link

Description

inspec fails to determine file_version for a file on a windows 2012R2 through winrm

InSpec and Platform Version

Version of InSpec (0.28.0) and RHEL 6

Replication Case

To replicate, create a test and then use syntax provided in documentation:
https://docs.chef.io/inspec_file.html#file-version

   describe file("c:/program files (x86)/windows nt/accessories/wordpad.exe") do
     it { should exist }
    its ('file_version') { should eq '6.3.9600.17415' }
@chris-rock
Copy link
Contributor

chris-rock commented Aug 2, 2016

I can confirm that the information is not retrieved properly. It is not restricted to winrm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Feature not working as expected
Projects
None yet
2 participants