The processor/chipset in scorch needs a new version than is
available in 16.04 and refuses to start otherwise.
default[:hardware][:grub][:cmdline] = %w[nomodeset]
default[:hardware][:sensors] = {}
default[:hardware][:grub][:cmdline] = %w[nomodeset]
default[:hardware][:sensors] = {}
+default[:hardware][:mcelog][:enabled] = true
+
if node[:dmi] && node[:dmi][:system]
case node[:dmi][:system][:manufacturer]
when "HP"
if node[:dmi] && node[:dmi][:system]
case node[:dmi][:system][:manufacturer]
when "HP"
supports :status => true, :restart => true, :reload => true
end
supports :status => true, :restart => true, :reload => true
end
+if node[:hardware][:mcelog][:enabled]
+ package "mcelog"
-%w[bus cache dimm iomca page socket-memory unknown].each do |trigger|
- template "/etc/mcelog/#{trigger}-error-trigger.local" do
- source "mcelog-trigger.erb"
- owner "root"
- group "root"
- mode 0o755
+ %w[bus cache dimm iomca page socket-memory unknown].each do |trigger|
+ template "/etc/mcelog/#{trigger}-error-trigger.local" do
+ source "mcelog-trigger.erb"
+ owner "root"
+ group "root"
+ mode 0o755
+ end
-service "mcelog" do
- action [:start, :enable]
- supports :status => true, :restart => true, :reload => false
+ service "mcelog" do
+ action [:start, :enable]
+ supports :status => true, :restart => true, :reload => false
+ end
+ :hardware => {
+ :mcelog => {
+ :enabled => false
+ }
+ },
:networking => {
:interfaces => {
:external_ipv4 => {
:networking => {
:interfaces => {
:external_ipv4 => {