source "tty.conf.erb"
owner "root"
group "root"
- mode 0644
+ mode 0o644
variables :unit => unit
end
source "grub.erb"
owner "root"
group "root"
- mode 0644
+ mode 0o644
variables :units => units, :entry => grub_entry
notifies :run, "execute[update-grub]"
end
source "initramfs-mdadm.erb"
owner "root"
group "root"
- mode 0644
+ mode 0o644
notifies :run, "execute[update-initramfs]"
end
source "irqbalance.erb"
owner "root"
group "root"
- mode 0644
+ mode 0o644
end
service "irqbalance" do
source "raid.default.erb"
owner "root"
group "root"
- mode 0644
+ mode 0o644
variables :devices => status_packages[status_package]
end
source "smartd-mailer.erb"
owner "root"
group "root"
- mode 0755
+ mode 0o755
end
template "/etc/smartd.conf" do
source "smartd.conf.erb"
owner "root"
group "root"
- mode 0644
+ mode 0o644
variables :disks => disks
notifies :reload, "service[smartmontools]"
end
source "smartmontools.erb"
owner "root"
group "root"
- mode 0644
+ mode 0o644
notifies :restart, "service[smartmontools]"
end
file "/etc/mdadm/mdadm.conf" do
owner "root"
group "root"
- mode 0644
+ mode 0o644
content mdadm_conf
end
source "modules.erb"
owner "root"
group "root"
- mode 0644
+ mode 0o644
end
if node[:lsb][:release].to_f <= 12.10
source "watchdog.erb"
owner "root"
group "root"
- mode 0644
+ mode 0o644
variables :module => node[:hardware][:watchdog]
end
source "sensors.conf.erb"
owner "root"
group "root"
- mode 0644
+ mode 0o644
notifies :run, "execute[/etc/sensors.d/chef.conf]"
end
end