Disable sysctl comments for now
authorTom Hughes <tom@compton.nu>
Thu, 13 Feb 2020 19:22:52 +0000 (19:22 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 13 Feb 2020 19:22:52 +0000 (19:22 +0000)
This requires chef 15.x as the client...

cookbooks/sysctl/recipes/default.rb

index 0190b37b7d14230af1ea88e3b586b6d231c2d0e3..8cc672eb84207f5ee6ae1e203b9a4a6150e82c6c 100644 (file)
@@ -27,7 +27,7 @@ if node[:virtualization][:role] != "guest" ||
     group[:parameters].each do |key, value|
       sysctl key do
         value value
-        comment group[:comment]
+        comment group[:comment]
       end
     end
   end