X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/388687b7120815bc61f49de6c5dd0ea793dad67b..58fa98e466c9b59f9352240e86c6349eba21440e:/cookbooks/sysfs/recipes/default.rb diff --git a/cookbooks/sysfs/recipes/default.rb b/cookbooks/sysfs/recipes/default.rb index 9b08c44cf..6e2dac1f5 100644 --- a/cookbooks/sysfs/recipes/default.rb +++ b/cookbooks/sysfs/recipes/default.rb @@ -1,8 +1,8 @@ # -# Cookbook Name:: sysfs +# Cookbook:: sysfs # Recipe:: default # -# Copyright 2013, Tom Hughes +# Copyright:: 2013, Tom Hughes # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -30,11 +30,11 @@ else supports :status => false, :restart => true, :reload => false end - template "/etc/sysfs.conf" do + 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