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 4ef8bdc..2b85f01 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