Skip to content

Commit

Permalink
Merge pull request #1165 from chef/btm/sugar-is-utils
Browse files Browse the repository at this point in the history
chef-sugar helpers are now in chef-utils
  • Loading branch information
tyler-ball authored May 11, 2020
2 parents 154e432 + 548189a commit d34381e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
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

0 comments on commit d34381e

Please sign in to comment.