]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/sysfs/recipes/default.rb
Merge branch 'patch-2' of https://github.com/Tigerfell/chef into pr257
[chef.git] / cookbooks / sysfs / recipes / default.rb
index 9b08c44cf6fbeadde1b56cf380fc2aaf112afa88..6e2dac1f5ba0dcf011bcaaa03861865fa0da1e01 100644 (file)
@@ -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