{"action":"created","issue":{"url":"https://api.github.com/repos/jtimberman/vagrant-cookbook/issues/17","labels_url":"https://api.github.com/repos/jtimberman/vagrant-cookbook/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/jtimberman/vagrant-cookbook/issues/17/comments","events_url":"https://api.github.com/repos/jtimberman/vagrant-cookbook/issues/17/events","html_url":"https://github.com/jtimberman/vagrant-cookbook/issues/17","id":52567471,"number":17,"title":"Can't upgrade Mac or Windows if Vagrant version too low?","user":{"login":"noahgibbs","id":82408,"avatar_url":"https://avatars.githubusercontent.com/u/82408?v=3","gravatar_id":"","url":"https://api.github.com/users/noahgibbs","html_url":"https://github.com/noahgibbs","followers_url":"https://api.github.com/users/noahgibbs/followers","following_url":"https://api.github.com/users/noahgibbs/following{/other_user}","gists_url":"https://api.github.com/users/noahgibbs/gists{/gist_id}","starred_url":"https://api.github.com/users/noahgibbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noahgibbs/subscriptions","organizations_url":"https://api.github.com/users/noahgibbs/orgs","repos_url":"https://api.github.com/users/noahgibbs/repos","events_url":"https://api.github.com/users/noahgibbs/events{/privacy}","received_events_url":"https://api.github.com/users/noahgibbs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-20T15:41:20Z","updated_at":"2015-07-29T07:13:36Z","closed_at":null,"body":"I don't find a way to check against a minimum Vagrant version or (probably unreasonable) to say \"install this file only if it's not the current version\".\r\n\r\nI can do that myself from another cookbook, but it would be really convenient to have, say, an optional \"minimum_version\" field to indicate that Vagrant should be uninstalled and reinstalled if the version is lower than that version.\r\n\r\nIn my specific case I want \"vagrant push\", which requires Vagrant 1.7.1, and I've just realized I have a very small installed base of users I can't automatically upgrade :-)\r\n\r\nBy the way, thanks! I'm really happy this cookbook exists. It saved me writing it :-)\r\n\r\nMaybe I'll put together a quick pull request for this.\r\n"},"comment":{"url":"https://api.github.com/repos/jtimberman/vagrant-cookbook/issues/comments/125866514","html_url":"https://github.com/jtimberman/vagrant-cookbook/issues/17#issuecomment-125866514","issue_url":"https://api.github.com/repos/jtimberman/vagrant-cookbook/issues/17","id":125866514,"user":{"login":"jtimberman","id":12483,"avatar_url":"https://avatars.githubusercontent.com/u/12483?v=3","gravatar_id":"","url":"https://api.github.com/users/jtimberman","html_url":"https://github.com/jtimberman","followers_url":"https://api.github.com/users/jtimberman/followers","following_url":"https://api.github.com/users/jtimberman/following{/other_user}","gists_url":"https://api.github.com/users/jtimberman/gists{/gist_id}","starred_url":"https://api.github.com/users/jtimberman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtimberman/subscriptions","organizations_url":"https://api.github.com/users/jtimberman/orgs","repos_url":"https://api.github.com/users/jtimberman/repos","events_url":"https://api.github.com/users/jtimberman/events{/privacy}","received_events_url":"https://api.github.com/users/jtimberman/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T07:13:36Z","updated_at":"2015-07-29T07:13:36Z","body":"OS X's package manager, pkgutil, is pretty awful, and it's not really supported by Chef (e.g., there's no `pkgutil` provider). I'm also pretty sure that old versions of Vagrant aren't really supported/supportable by Hashicorp - but I don't know for sure, and I don't at which version range it becomes an issue."}}