Commit 01b78198 authored by Sean OMeara's avatar Sean OMeara

Merge pull request #122 from stan928/master

ensuring that the yum clean updates comes before the make cache
parents 9c36fc44 06f7932e
......@@ -46,8 +46,8 @@ action :create do
mode new_resource.mode
variables(:config => new_resource)
if new_resource.make_cache
notifies :run, "execute[yum-makecache-#{new_resource.repositoryid}]", :immediately
notifies :run, "execute[yum clean #{new_resource.repositoryid}]", :immediately
notifies :run, "execute[yum-makecache-#{new_resource.repositoryid}]", :immediately
notifies :create, "ruby_block[yum-cache-reload-#{new_resource.repositoryid}]", :immediately
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment