Created
May 7, 2015 17:42
-
-
Save Sauraus/91ef7b999c86a260db39 to your computer and use it in GitHub Desktop.
git recipe fails to install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Recipe: git::default | |
* git_client[default] action install | |
================================================================================ | |
Error executing action `install` on resource 'git_client[default]' | |
================================================================================ | |
NoMethodError | |
------------- | |
undefined method `package_version' for Chef::Resource::YumPackage | |
Cookbook Trace: | |
--------------- | |
/var/chef/cache/cookbooks/mysql/libraries/resource_mysql_service.rb:59:in `parsed_package_version' | |
/var/chef/cache/cookbooks/git/libraries/provider_git_client_package.rb:16:in `block (2 levels) in <class:Package>' | |
/var/chef/cache/cookbooks/git/libraries/provider_git_client_package.rb:14:in `block in <class:Package>' | |
Resource Declaration: | |
--------------------- | |
# In /var/chef/cache/cookbooks/git/recipes/default.rb | |
19: git_client 'default' do | |
20: action :install | |
21: end | |
Compiled Resource: | |
------------------ | |
# Declared in /var/chef/cache/cookbooks/git/recipes/default.rb:19:in `from_file' | |
git_client("default") do | |
action [:install] | |
retries 0 | |
retry_delay 2 | |
default_guard_interpreter :default | |
declared_type :git_client | |
cookbook_name "git" | |
recipe_name "default" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[XXXXXXX@XXXXXXXX ~]$ uname -r | |
2.6.32-431.29.2.el6.x86_64 | |
[XXXXXXX@XXXXXXXX ~]$ sudo cat /var/chef/cache/cookbooks/git/metadata.json | |
{"name":"git","version":"4.2.2" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment