Chef's install error -
i got error while debugging chef-solo.
i can see same kind of problem ....in 'from_file
when install nginx via chef-recipes. have downloaded , installed epel-release-5-4.noarch.rpm
, have created /etc/yum.repos.d/epel.repo
.
what shall this?
* package[vim] action install * no version specified, , no candidate version available vim ================================================================================ error executing action `install` on resource 'package[vim]' ================================================================================ chef::exceptions::package ------------------------- no version specified, , no candidate version available vim resource declaration: --------------------- # in /root/development/chef-repo/site-cookbooks/vim/recipes/default.rb 9: package "vim" 10: action :install 11: end 12: compiled resource: ------------------ # declared in /root/development/chef-repo/site-cookbooks/vim/recipes/default.rb:9:in `from_file' package("vim") action [:install] retries 0 retry_delay 2 package_name "vim" cookbook_name :vim recipe_name "default" end
actually,it seemed installed. if try nginx -t ,i found error , fiexed, chef's recipe started work without error.
Comments
Post a Comment