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