Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fixing an order of execution issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Shepherd committed Nov 29, 2011
1 parent eaeac7f commit 4523f71
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cookbooks/openstack/recipes/glance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
execute "glance-manage db_sync" do
command "glance-manage db_sync"
action :nothing
notifies :start, resources(:service => "glance-registry"), :immediately
notifies :restart, resources(:service => "glance-registry"), :immediately
end

file "/var/lib/glance/glance.sqlite" do
Expand All @@ -68,7 +68,6 @@
:admin_port => node[:keystone][:admin_port],
:admin_token => node[:keystone][:admin_token]
)
notifies :stop, resources(:service => "glance-registry"), :immediately
notifies :run, resources(:execute => "glance-manage db_sync"), :immediately
end

Expand Down

0 comments on commit 4523f71

Please sign in to comment.