]> git.openstreetmap.org Git - chef.git/commitdiff
Restart apache when taginfo config is changed.
authorJochen Topf <jochen@topf.org>
Thu, 5 Mar 2015 15:42:38 +0000 (16:42 +0100)
committerJochen Topf <jochen@topf.org>
Thu, 5 Mar 2015 15:42:38 +0000 (16:42 +0100)
cookbooks/taginfo/recipes/default.rb

index 4ef8bdc29421e8095c490ed7831e97e46a74c75b..2b85f0141b28d253a9771a15f3864567527fc385 100644 (file)
@@ -134,6 +134,7 @@ node[:taginfo][:sites].each do |site|
     group "taginfo"
     mode 0644
     content settings
+    notifies :restart, "service[apache2]"
   end
 
   execute "#{directory}/taginfo/tagstats/Makefile" do