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

chef-sugar helpers are now in chef-utils #1165

Merged
merged 1 commit into from
May 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion omnibus/verification/spec/unit/verify_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ class << self
"package installation",
"openssl",
"inspec",
"chef-sugar",
"opscode-pushy-client",
"git",
"delivery-cli",
Expand Down
18 changes: 0 additions & 18 deletions omnibus/verification/verify.rb
Original file line number Diff line number Diff line change
Expand Up @@ -408,24 +408,6 @@ def components
end
end

# We try and use some chef-sugar code to make sure it loads correctly
add_component "chef-sugar" do |c|
c.gem_base_dir = "chef-sugar"
c.smoke_test do
tmpdir do |cwd|
with_file(File.join(cwd, "foo.rb")) do |f|
f.write <<~EOF
require 'chef/sugar'
log 'something' do
not_if { _64_bit? }
end
EOF
end
sh("#{bin("chef-apply")} foo.rb", cwd: cwd)
end
end
end

attr_reader :verification_threads
attr_reader :verification_results
attr_reader :verification_status
Expand Down