{"action":"created","issue":{"url":"https://api.github.com/repos/chef-cookbooks/git/issues/92","repository_url":"https://api.github.com/repos/chef-cookbooks/git","labels_url":"https://api.github.com/repos/chef-cookbooks/git/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/chef-cookbooks/git/issues/92/comments","events_url":"https://api.github.com/repos/chef-cookbooks/git/issues/92/events","html_url":"https://github.com/chef-cookbooks/git/issues/92","id":137734499,"number":92,"title":"git_client::source installs twice 1.9.5 default and then the target","user":{"login":"rojomisin","id":3313148,"avatar_url":"https://avatars.githubusercontent.com/u/3313148?v=3","gravatar_id":"","url":"https://api.github.com/users/rojomisin","html_url":"https://github.com/rojomisin","followers_url":"https://api.github.com/users/rojomisin/followers","following_url":"https://api.github.com/users/rojomisin/following{/other_user}","gists_url":"https://api.github.com/users/rojomisin/gists{/gist_id}","starred_url":"https://api.github.com/users/rojomisin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rojomisin/subscriptions","organizations_url":"https://api.github.com/users/rojomisin/orgs","repos_url":"https://api.github.com/users/rojomisin/repos","events_url":"https://api.github.com/users/rojomisin/events{/privacy}","received_events_url":"https://api.github.com/users/rojomisin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-02T00:36:04Z","updated_at":"2016-03-04T17:03:52Z","closed_at":"2016-03-04T17:03:52Z","body":"I am setting wrapper cookbook to depend on git cookbook.\r\nTo install version 2.0.4 of the git_client from tarball, I do...\r\n```ruby\r\ninclude_recipe 'git::source'\r\n\r\ngit_client 'default' do\r\n  action :install\r\n  source_url 'https://www.kernel.org/pub/software/scm/git/git-2.0.4.tar.gz'\r\n  source_version '2.0.4'\r\n  source_checksum 'dd9df02b7dcc75f9777c4f802c6b8562180385ddde4e3b8479e079f99cd1d1c9'\r\nend\r\n```\r\n\r\nwhat happens is that it installs 1.9.5 and then 2.0.4\r\n```\r\n      \r\n             - update content in file /tmp/kitchen/cache/git-1.9.5.tar.gz from none to 0f3098\r\n       \r\n       \r\n           * execute[Extracting and Building Git 1.9.5 from Source] action run\r\n             - execute     (mkdir git-1.9.5 && tar -zxf git-1.9.5.tar.gz -C git-1.9.5 --strip-components 1)\r\n          (cd git-1.9.5 && make prefix=/usr/local  install)\r\n           \r\n         \r\n       Recipe: app_jenkins::_install_prereqs\r\n       \r\n           * yum_package[expat-devel] action install (up to date)\r\n           * yum_package[gettext-devel] action install (up to date)\r\n           * yum_package[libcurl-devel] action install (up to date)\r\n        (up to date)\r\n        (up to date)\r\n        (up to date)\r\n       \r\n       \r\n             - update content in file /tmp/kitchen/cache/git-2.0.4.tar.gz from none to dd9df0\r\n       \r\n       \r\n       * execute[Extracting and Building Git 2.0.4 from Source] action run\r\n             - execute     (mkdir git-2.0.4 && tar -zxf git-2.0.4.tar.gz -C git-2.0.4 --strip-components 1)\r\n          (cd git-2.0.4 && make prefix=/usr/local  install)\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/chef-cookbooks/git/issues/comments/192358818","html_url":"https://github.com/chef-cookbooks/git/issues/92#issuecomment-192358818","issue_url":"https://api.github.com/repos/chef-cookbooks/git/issues/92","id":192358818,"user":{"login":"iennae","id":1592404,"avatar_url":"https://avatars.githubusercontent.com/u/1592404?v=3","gravatar_id":"","url":"https://api.github.com/users/iennae","html_url":"https://github.com/iennae","followers_url":"https://api.github.com/users/iennae/followers","following_url":"https://api.github.com/users/iennae/following{/other_user}","gists_url":"https://api.github.com/users/iennae/gists{/gist_id}","starred_url":"https://api.github.com/users/iennae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iennae/subscriptions","organizations_url":"https://api.github.com/users/iennae/orgs","repos_url":"https://api.github.com/users/iennae/repos","events_url":"https://api.github.com/users/iennae/events{/privacy}","received_events_url":"https://api.github.com/users/iennae/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T17:03:52Z","updated_at":"2016-03-04T17:03:52Z","body":"@rojomisin I'm going to go ahead and close this. If it's still an issue, please reopen. Thanks!"}}