X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b20599b6503be65674c3e420be6cca91b507ac0a..0ade30e31708ad48458cd7e2f6604259540ace6e:/cookbooks/sysfs/recipes/default.rb 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