Permalink
Browse files

FC043: Prefer new notification syntax

  • Loading branch information...
1 parent 5c0ea0d commit 3446382d0bc2314429a5c00e0fc006f3a739e0c5 @phlipper committed Dec 31, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 recipes/access_grants.rb
  2. +1 −1 recipes/replication.rb
@@ -17,5 +17,5 @@
execute "mysql-install-privileges" do
command "/usr/bin/mysql -u root -p'#{passwords.root_password}' < /etc/mysql/grants.sql"
action :nothing
- subscribes :run, resources(:template => "/etc/mysql/grants.sql"), :immediately
+ subscribes :run, "template[/etc/mysql/grants.sql]", :immediately
end
@@ -17,5 +17,5 @@
execute "mysql-set-replication" do
command "/usr/bin/mysql -u root -p'#{passwords.root_password}' < /etc/mysql/replication.sql"
action :nothing
- subscribes :run, resources(:template => "/etc/mysql/replication.sql"), :immediately
+ subscribes :run, "template[/etc/mysql/replication.sql]", :immediately
end

0 comments on commit 3446382

Please sign in to comment.