{"action":"created","issue":{"url":"https://api.github.com/repos/chef/chef/issues/3292","labels_url":"https://api.github.com/repos/chef/chef/issues/3292/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef/issues/3292/comments","events_url":"https://api.github.com/repos/chef/chef/issues/3292/events","html_url":"https://github.com/chef/chef/issues/3292","id":71409987,"number":3292,"title":"Regression: yum_package doesn't upgrade","user":{"login":"btm","id":4381,"avatar_url":"https://avatars.githubusercontent.com/u/4381?v=3","gravatar_id":"","url":"https://api.github.com/users/btm","html_url":"https://github.com/btm","followers_url":"https://api.github.com/users/btm/followers","following_url":"https://api.github.com/users/btm/following{/other_user}","gists_url":"https://api.github.com/users/btm/gists{/gist_id}","starred_url":"https://api.github.com/users/btm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btm/subscriptions","organizations_url":"https://api.github.com/users/btm/orgs","repos_url":"https://api.github.com/users/btm/repos","events_url":"https://api.github.com/users/btm/events{/privacy}","received_events_url":"https://api.github.com/users/btm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-27T21:36:14Z","updated_at":"2015-04-27T22:14:39Z","closed_at":null,"body":"From a couple new comments on #3059, it appears that there's an unfixed regression from 12.1.0 where yum_package doesn't upgrade.\r\n\r\nOne example from @bdwyertech:\r\n```\r\n# => Download NXLog RPM\r\nremote_file File.join(Chef::Config[:file_cache_path], File.basename(node['nxlog']['url'])) do\r\n  source node['nxlog']['url']\r\n  checksum node['nxlog']['checksum']\r\n  action :create\r\n  notifies :install, 'package[nxlog]', :immediately\r\nend\r\n\r\n# => Install NXLog from RPM\r\npackage 'nxlog' do\r\n  source File.join(Chef::Config[:file_cache_path], File.basename(node['nxlog']['url']))\r\n  action :nothing\r\nend\r\n```\r\n\r\nSeparate log output from @unhuman:\r\n```\r\n[2015-04-23T12:57:41+00:00] DEBUG: yum_package[/tmp/kitchen/cache/couchbase-server-enterprise_2.5.2_x86_64.rpm] checking rpm status\r\ncouchbase-server 2.5.2-1154\r\n[2015-04-23T12:57:41+00:00] DEBUG: yum_package[/tmp/kitchen/cache/couchbase-server-enterprise_2.5.2_x86_64.rpm] installed version: [\"2.5.0-1059\"] candidate version: 2.5.2-1154\r\n[2015-04-23T12:57:41+00:00] DEBUG: yum_package[/tmp/kitchen/cache/couchbase-server-enterprise_2.5.2_x86_64.rpm] /tmp/kitchen/cache/couchbase-server-enterprise_2.5.2_x86_64.rpm 2.5.0-1059 already installed\r\n[2015-04-23T12:57:41+00:00] DEBUG: yum_package[/tmp/kitchen/cache/couchbase-server-enterprise_2.5.2_x86_64.rpm] is already installed - nothing to do\r\n```"},"comment":{"url":"https://api.github.com/repos/chef/chef/issues/comments/96836763","html_url":"https://github.com/chef/chef/issues/3292#issuecomment-96836763","issue_url":"https://api.github.com/repos/chef/chef/issues/3292","id":96836763,"user":{"login":"bdwyertech","id":2973273,"avatar_url":"https://avatars.githubusercontent.com/u/2973273?v=3","gravatar_id":"","url":"https://api.github.com/users/bdwyertech","html_url":"https://github.com/bdwyertech","followers_url":"https://api.github.com/users/bdwyertech/followers","following_url":"https://api.github.com/users/bdwyertech/following{/other_user}","gists_url":"https://api.github.com/users/bdwyertech/gists{/gist_id}","starred_url":"https://api.github.com/users/bdwyertech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdwyertech/subscriptions","organizations_url":"https://api.github.com/users/bdwyertech/orgs","repos_url":"https://api.github.com/users/bdwyertech/repos","events_url":"https://api.github.com/users/bdwyertech/events{/privacy}","received_events_url":"https://api.github.com/users/bdwyertech/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T22:14:39Z","updated_at":"2015-04-27T22:14:39Z","body":"I'll try and give that a test at some point tomorrow @btm"}}