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

Provide gem_source attribute for fetching any required gems #26

Closed
smford22 opened this issue Apr 18, 2016 · 2 comments
Closed

Provide gem_source attribute for fetching any required gems #26

smford22 opened this issue Apr 18, 2016 · 2 comments
Labels
Type: Enhancement Adds new functionality.

Comments

@smford22
Copy link

smford22 commented Apr 18, 2016

Right now the source for where we fetch the inspec gem is hardcoded to rubygems.org. Some customers cannot access rubygems.org due to network restrictions. We should provide a gem_source attribute to override the source. The chef-vault cookbook provides this override as well...

https://github.com/chef-cookbooks/chef-vault

default['chef-vault']['gem_source'] = nil

chef_gem 'chef-vault' do # ~FC009
23      source node['chef-vault']['gem_source']
24      version node['chef-vault']['version']
25      clear_sources true unless node['chef-vault']['gem_source'].nil?
26      compile_time true
27    end
@chris-rock
Copy link
Contributor

chris-rock commented Apr 18, 2016

similar to #8

@chris-rock
Copy link
Contributor

InSpec is part of Chef 13. If this is still required, please re-open

@tas50 tas50 added Type: Enhancement Adds new functionality. and removed Type: Feature Request labels Jan 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Adds new functionality.
Development

No branches or pull requests

4 participants