def run_plugins(safe = false, attribute_filter = nil)
@v6_dependency_solver.values.each do |v6plugin|
@runner.run_plugin(v6plugin)
end
if attribute_filter and Array(attribute_filter).all? {|filter_item| have_v6_plugin?(filter_item) }
return true
end
begin
@provides_map.all_plugins(attribute_filter).each { |plugin|
@runner.run_plugin(plugin)
}
rescue Ohai::Exceptions::AttributeNotFound, Ohai::Exceptions::DependencyCycle => e
Ohai::Log.error("Encountered error while running plugins: #{e.inspect}")
raise
end
end