2020-05-25 23:08:14 +00:00
|
|
|
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
|
|
|
|
|
2020-08-11 21:15:38 +00:00
|
|
|
# Must explicitly remove then re-install as it has an executable file
|
|
|
|
# conflict with the incoming package
|
|
|
|
chef_gem "inspec-core" do
|
|
|
|
action :remove
|
|
|
|
end
|
2020-05-25 23:08:14 +00:00
|
|
|
|
|
|
|
chef_gem "inspec-core" do
|
|
|
|
source "/root/inspec-core.gem"
|
2020-08-11 21:15:38 +00:00
|
|
|
action :install
|
2020-05-25 23:08:14 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
chef_gem "inspec-core-bin" do
|
|
|
|
source "/root/inspec-core-bin.gem"
|
|
|
|
action :upgrade
|
|
|
|
end
|