]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/recipes/default.rb
Restart postgres exporter when the configuration changes
[chef.git] / cookbooks / hardware / recipes / default.rb
index 27046a1f78c3e5fa067ad2fd644f2d6520f94d4c..711fa45712420f6a8d0302671f3d32dcc5acfbda 100644 (file)
@@ -141,6 +141,7 @@ if File.exist?("/etc/default/grub")
   execute "update-grub" do
     action :nothing
     command "/usr/sbin/update-grub"
+    not_if { ENV["TEST_KITCHEN"] }
   end
 
   template "/etc/default/grub" do