]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/otrs/recipes/default.rb
Convert all notify/subscribe calls to the new style syntax
[chef.git] / cookbooks / otrs / recipes / default.rb
index 487fddf90e3cdc23c2a00bce0e28234e1d0f9d32..fa9644287da79f3dc55b5b73780bfd8fbf06b8e4 100644 (file)
@@ -131,7 +131,7 @@ Dir.glob("/opt/otrs/var/cron/*.dist") do |distname|
     group "www-data"
     mode 0664
     content IO.read(distname)
     group "www-data"
     mode 0664
     content IO.read(distname)
-    notifies :run, resources(:execute => "/opt/otrs/bin/Cron.sh")
+    notifies :run, "execute[/opt/otrs/bin/Cron.sh]"
   end
 end
 
   end
 end