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

Comments

Projects
None yet
3 participants
@smford22

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

This comment has been minimized.

Collaborator

chris-rock commented Apr 18, 2016

similar to #8

@chris-rock

This comment has been minimized.

Collaborator

chris-rock commented Apr 26, 2017

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

@chris-rock chris-rock closed this Apr 26, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment