]> git.openstreetmap.org Git - chef.git/commitdiff
Fix removal of old rails cleanup scripts on dev
authorTom Hughes <tom@compton.nu>
Tue, 22 Sep 2015 11:42:23 +0000 (12:42 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 22 Sep 2015 11:42:23 +0000 (12:42 +0100)
cookbooks/dev/recipes/default.rb

index 014d9fafd0f4059e79241a14acc482098f22ba59..3620d163d82fa4a59be035e109bbb4c164ce6cf9 100644 (file)
@@ -199,7 +199,7 @@ if node[:postgresql][:clusters][:"9.1/main"]
         recursive true
       end
 
-      file "/etc/cron.daily/rails-#{name}" do
+      file "/etc/cron.daily/rails-#{site_name}" do
         action :delete
       end