X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5506d18d9d3621e5c9b3cc16b7d34e9b2b1fb4fe..e92ed5e09215d67f2bd7dc21a32425d7ec5aa26f:/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