{"action":"created","issue":{"url":"https://api.github.com/repos/Cimpress-MCP/vagrant-orchestrate/issues/7","labels_url":"https://api.github.com/repos/Cimpress-MCP/vagrant-orchestrate/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/Cimpress-MCP/vagrant-orchestrate/issues/7/comments","events_url":"https://api.github.com/repos/Cimpress-MCP/vagrant-orchestrate/issues/7/events","html_url":"https://github.com/Cimpress-MCP/vagrant-orchestrate/issues/7","id":58581823,"number":7,"title":"Know which branch vorch is executing under from within the Vagrantfile","user":{"login":"maclennann","id":192728,"avatar_url":"https://avatars.githubusercontent.com/u/192728?v=3","gravatar_id":"","url":"https://api.github.com/users/maclennann","html_url":"https://github.com/maclennann","followers_url":"https://api.github.com/users/maclennann/followers","following_url":"https://api.github.com/users/maclennann/following{/other_user}","gists_url":"https://api.github.com/users/maclennann/gists{/gist_id}","starred_url":"https://api.github.com/users/maclennann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maclennann/subscriptions","organizations_url":"https://api.github.com/users/maclennann/orgs","repos_url":"https://api.github.com/users/maclennann/repos","events_url":"https://api.github.com/users/maclennann/events{/privacy}","received_events_url":"https://api.github.com/users/maclennann/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-23T12:54:16Z","updated_at":"2015-02-23T13:58:12Z","closed_at":"2015-02-23T13:58:12Z","body":"If using `--environments`, I would like to be able to know which environment vorch has determined that I am in so I can use it elsewhere in the Vagrantfile. Specifically, I would like to be able to do something like:\r\n\r\n```ruby\r\nconfig.ssh.private_key_path = \"secrets/#{environment}/[keyname]\r\n```\r\n\r\nand\r\n\r\n```ruby\r\npuppet.options = \"--environment #{environment}\"\r\n```"},"comment":{"url":"https://api.github.com/repos/Cimpress-MCP/vagrant-orchestrate/issues/comments/75544519","html_url":"https://github.com/Cimpress-MCP/vagrant-orchestrate/issues/7#issuecomment-75544519","issue_url":"https://api.github.com/repos/Cimpress-MCP/vagrant-orchestrate/issues/7","id":75544519,"user":{"login":"chrisbaldauf","id":488984,"avatar_url":"https://avatars.githubusercontent.com/u/488984?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisbaldauf","html_url":"https://github.com/chrisbaldauf","followers_url":"https://api.github.com/users/chrisbaldauf/followers","following_url":"https://api.github.com/users/chrisbaldauf/following{/other_user}","gists_url":"https://api.github.com/users/chrisbaldauf/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisbaldauf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisbaldauf/subscriptions","organizations_url":"https://api.github.com/users/chrisbaldauf/orgs","repos_url":"https://api.github.com/users/chrisbaldauf/repos","events_url":"https://api.github.com/users/chrisbaldauf/events{/privacy}","received_events_url":"https://api.github.com/users/chrisbaldauf/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T13:58:12Z","updated_at":"2015-02-23T13:58:12Z","body":"I've added the VAGRANT_ORCHESTRATE_GIT_BRANCH environment variable in version 0.3.1, which should allow you to make sure you're reading the same branch as vagrant orchestrate is."}}