I ran into this problem yesterday. In the yum cookbook fileThis check doesn't seem to make sense. Essentially, "unless" means "not if" when testing if the file exists. The template resource within that block should be idempotent without that File.exists check.
yum/providers/respository.rb, comment out the following line:
unless ::File.exists?("/etc/yum.repos.d/#{new_resource.repo_name}.repo")
I don't understand the point of this line anyway.
Archive powered by MHonArc 2.6.16.