{"action":"created","issue":{"url":"https://api.github.com/repos/chef-cookbooks/yum/issues/127","labels_url":"https://api.github.com/repos/chef-cookbooks/yum/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/chef-cookbooks/yum/issues/127/comments","events_url":"https://api.github.com/repos/chef-cookbooks/yum/issues/127/events","html_url":"https://github.com/chef-cookbooks/yum/issues/127","id":98078558,"number":127,"title":"Provide a way to make `yum clean REPO_NAME` optional","user":{"login":"ketan","id":10598,"avatar_url":"https://avatars.githubusercontent.com/u/10598?v=3","gravatar_id":"","url":"https://api.github.com/users/ketan","html_url":"https://github.com/ketan","followers_url":"https://api.github.com/users/ketan/followers","following_url":"https://api.github.com/users/ketan/following{/other_user}","gists_url":"https://api.github.com/users/ketan/gists{/gist_id}","starred_url":"https://api.github.com/users/ketan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ketan/subscriptions","organizations_url":"https://api.github.com/users/ketan/orgs","repos_url":"https://api.github.com/users/ketan/repos","events_url":"https://api.github.com/users/ketan/events{/privacy}","received_events_url":"https://api.github.com/users/ketan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-30T03:46:01Z","updated_at":"2015-10-13T14:44:12Z","closed_at":null,"body":"We're testing a bunch of cookbooks using kitchen and [vagrant-cachier](https://github.com/fgrehm/vagrant-cachier) to cache yum, apt, rubygems and a few other packages.\r\n\r\nHowever the `yum clean` operation that [got added](https://github.com/chef-cookbooks/yum/commit/ecdbc2b00dd5d1d33bf8ab0454bbd65edfbfd7de) in version 3.6 is a bit of an inconvenience because it blows away all yum caches.\r\n\r\nI'm happy to submit a PR to make that behaviour optional by specifying a `yum_clean` (?) parameter that defaults to `true`, but can be turned off if desired.\r\n\r\nThoughts?\r\n\r\n/cc @someara (the original author who added that line of code)"},"comment":{"url":"https://api.github.com/repos/chef-cookbooks/yum/issues/comments/147736896","html_url":"https://github.com/chef-cookbooks/yum/issues/127#issuecomment-147736896","issue_url":"https://api.github.com/repos/chef-cookbooks/yum/issues/127","id":147736896,"user":{"login":"someara","id":69068,"avatar_url":"https://avatars.githubusercontent.com/u/69068?v=3","gravatar_id":"","url":"https://api.github.com/users/someara","html_url":"https://github.com/someara","followers_url":"https://api.github.com/users/someara/followers","following_url":"https://api.github.com/users/someara/following{/other_user}","gists_url":"https://api.github.com/users/someara/gists{/gist_id}","starred_url":"https://api.github.com/users/someara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/someara/subscriptions","organizations_url":"https://api.github.com/users/someara/orgs","repos_url":"https://api.github.com/users/someara/repos","events_url":"https://api.github.com/users/someara/events{/privacy}","received_events_url":"https://api.github.com/users/someara/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T14:44:12Z","updated_at":"2015-10-13T14:44:12Z","body":"feature added in abe430dd806bfc3df250a868526c186aa2326922"}}