{"action":"opened","issue":{"url":"https://api.github.com/repos/hashbangcode/vlad/issues/191","labels_url":"https://api.github.com/repos/hashbangcode/vlad/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/hashbangcode/vlad/issues/191/comments","events_url":"https://api.github.com/repos/hashbangcode/vlad/issues/191/events","html_url":"https://github.com/hashbangcode/vlad/issues/191","id":65728314,"number":191,"title":"Build fails when provisioning drush via composer","user":{"login":"danbohea","id":6885065,"avatar_url":"https://avatars.githubusercontent.com/u/6885065?v=3","gravatar_id":"","url":"https://api.github.com/users/danbohea","html_url":"https://github.com/danbohea","followers_url":"https://api.github.com/users/danbohea/followers","following_url":"https://api.github.com/users/danbohea/following{/other_user}","gists_url":"https://api.github.com/users/danbohea/gists{/gist_id}","starred_url":"https://api.github.com/users/danbohea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbohea/subscriptions","organizations_url":"https://api.github.com/users/danbohea/orgs","repos_url":"https://api.github.com/users/danbohea/repos","events_url":"https://api.github.com/users/danbohea/events{/privacy}","received_events_url":"https://api.github.com/users/danbohea/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hashbangcode/vlad/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-01T16:45:27Z","updated_at":"2015-04-01T16:45:27Z","closed_at":null,"body":"I now get the following error when re provisioning using latest dev. I'm guessing this is related to #185 ?\r\n\r\n```\r\nTASK: [drupal | drush | install drush via composer and run it once] ***********\r\nfailed: [vlad] => {\"changed\": true, \"cmd\": \"composer global require --no-progress --no-interaction drush/drush:6.* -d /usr/share/composer; /usr/share/composer/vendor/bin/drush\", \"delta\": \"0:00:00.123344\", \"end\": \"2015-04-01 16:42:53.888160\", \"rc\": 127, \"start\": \"2015-04-01 16:42:53.764816\", \"warnings\": []}\r\nstderr: Changed current directory to /home/vagrant/.composer\r\n\r\n\r\n\r\n  [ErrorException]\r\n  file_put_contents(./composer.json): failed to open stream: Permission denied\r\n\r\n\r\n\r\nrequire [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--sort-packages] [packages1] ... [packagesN]\r\n\r\n\r\n/bin/sh: 1: /usr/share/composer/vendor/bin/drush: not found\r\n```"}}