inspec/test/kitchen/cookbooks/install_inspec/recipes/default.rb
Clinton Wolfe 09cfcedcd4 Refactor os_prepare cookbook to split out inspec installation
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-25 21:00:24 -04:00

20 lines
360 B
Ruby

cookbook_file "/root/inspec-core.gem" do
source "inspec-core.gem"
action :create
end
cookbook_file "/root/inspec-core-bin.gem" do
source "inspec-core-bin.gem"
action :create
end
chef_gem "inspec-core" do
source "/root/inspec-core.gem"
action :upgrade
end
chef_gem "inspec-core-bin" do
source "/root/inspec-core-bin.gem"
action :upgrade
end