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