X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5506d18d9d3621e5c9b3cc16b7d34e9b2b1fb4fe..eaf2ba261061613a6e23f6514afeb4f50817db66:/cookbooks/sysfs/recipes/default.rb diff --git a/cookbooks/sysfs/recipes/default.rb b/cookbooks/sysfs/recipes/default.rb index c58f19b16..6e2dac1f5 100644 --- a/cookbooks/sysfs/recipes/default.rb +++ b/cookbooks/sysfs/recipes/default.rb @@ -30,15 +30,11 @@ else supports :status => false, :restart => true, :reload => false end - file "/etc/sysfs.conf" do - action :delete - end - template "/etc/sysfs.d/99-chef.conf" do source "sysfs.conf.erb" owner "root" group "root" - mode 0o644 + mode "644" notifies :restart, "service[sysfsutils]" end