X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5506d18d9d3621e5c9b3cc16b7d34e9b2b1fb4fe..816dd4ebacce9fe2614291132c857cb481b0bb07:/cookbooks/sysfs/recipes/default.rb?ds=sidebyside 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