X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b20599b6503be65674c3e420be6cca91b507ac0a..06a63ff483490efca4bc271b0ece80d58ab2ce51:/cookbooks/sysfs/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/sysfs/recipes/default.rb b/cookbooks/sysfs/recipes/default.rb index a3de9b40d..1b9fc7004 100644 --- a/cookbooks/sysfs/recipes/default.rb +++ b/cookbooks/sysfs/recipes/default.rb @@ -28,12 +28,12 @@ template "/etc/sysfs.conf" do source "sysfs.conf.erb" owner "root" group "root" - mode 0644 + mode 0o644 notifies :restart, "service[sysfsutils]" end node[:sysfs].each_value do |group| - group[:parameters].each do |key,value| + group[:parameters].each do |key, value| sysfs_file = "/sys/#{key}" file sysfs_file do