node.set['build_essential']['compile_time'] = true
include_recipe 'build-essential'

node['augeas']['packages'].each do |package_name|
  package package_name do
    action :nothing
  end.run_action(:install)
end

chef_gem 'ruby-augeas' do
  action :install
end

node.set['build-essential']['compile_time'] = true
include_recipe 'build-essential'

node['augeas']['packages'].each do |package_name|
  package package_name do
    action :nothing
  end.run_action(:install)
end

chef_gem 'ruby-augeas' do
  action :install
end

Use build-essential instead of build_essential
Use build-essential instead of build_essential

WARN: node['build_essential'] has been changed to node['build-essential'] to match the
cookbook name and community standards. I have gracefully converted the attribute
for you, but this warning and conversion will be removed in the next major
release of the build-essential cookbook.
