]> git.openstreetmap.org Git - chef.git/commitdiff
Rebuild assets when the configuration changes
authorTom Hughes <tom@compton.nu>
Wed, 17 Jun 2015 19:42:38 +0000 (20:42 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 17 Jun 2015 19:42:51 +0000 (20:42 +0100)
cookbooks/web/definitions/rails_port.rb

index dcee9cbfe513fef5d1a599f41dcf0e8ff02cb73c..31467a6ed3a928a18693ca3ad3a9b1da1c786423 100644 (file)
@@ -231,7 +231,7 @@ define :rails_port, :action => [:create, :enable] do
     group rails_group
     mode 0664
     content application_yml
-    notifies :run, "execute[#{rails_directory}]"
+    notifies :run, "execute[#{rails_directory}/public/assets]"
   end
 
   if params[:piwik_configuration]