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

Unable to test installed Gems #65

Closed
cullenmcdermott opened this issue Mar 14, 2016 · 2 comments
Closed

Unable to test installed Gems #65

cullenmcdermott opened this issue Mar 14, 2016 · 2 comments

Comments

@cullenmcdermott
Copy link

Hi,

I need to test that some Gems are installed(they have been installed via the chef_gem. However it looks like kitchen-inspec isn't able to pick up on any gem installation. In order to try and track down this issue I ended up installing rvm and some test gems to see if inspec would return those, it didn't seem to help. However I noticed when I ran inspec exec test/integration/server/default.rb -t ssh://vagrant@192.168.50.10 --password 'vagrant' it would seem to find my rvm gempath correctly. But this doesn't help my original issue of inspec not picking up on chef gems not being seen.

I'm not sure if this is an issue with inspec, kitchen-inspec or some misconfiguration on my end. Any advice to point me in the right direction would be great!

Thanks!

@cullenmcdermott
Copy link
Author

Nevermind on this, I realized this was probably out of the scope of this project

@srenatus
Copy link
Contributor

@cullenmcdermott Well, actually, having a possibility to specify which gem to use for the gem resource, similar to the way you can override service manager binaries would totally make sense.

PR's are very welcome, but it should go against inspec then 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants