{"action":"closed","number":476,"pull_request":{"url":"https://api.github.com/repos/apache/incubator-brooklyn/pulls/476","id":28122653,"html_url":"https://github.com/apache/incubator-brooklyn/pull/476","diff_url":"https://github.com/apache/incubator-brooklyn/pull/476.diff","patch_url":"https://github.com/apache/incubator-brooklyn/pull/476.patch","issue_url":"https://api.github.com/repos/apache/incubator-brooklyn/issues/476","number":476,"state":"closed","locked":false,"title":"Support scriptDir location config","user":{"login":"rdowner","id":837456,"avatar_url":"https://avatars.githubusercontent.com/u/837456?v=3","gravatar_id":"","url":"https://api.github.com/users/rdowner","html_url":"https://github.com/rdowner","followers_url":"https://api.github.com/users/rdowner/followers","following_url":"https://api.github.com/users/rdowner/following{/other_user}","gists_url":"https://api.github.com/users/rdowner/gists{/gist_id}","starred_url":"https://api.github.com/users/rdowner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdowner/subscriptions","organizations_url":"https://api.github.com/users/rdowner/orgs","repos_url":"https://api.github.com/users/rdowner/repos","events_url":"https://api.github.com/users/rdowner/events{/privacy}","received_events_url":"https://api.github.com/users/rdowner/received_events","type":"User","site_admin":false},"body":"This modifies `SshMachineLocation` to propagate certain config keys to flags on `SshTool.execCommand()` and `.execScript()` invocations; the first use of this is to propagate the `scriptDir` config. `JcloudsLocation` is also modified to propagate this configuration. The result is that `scriptDir` can be specified in the configuration for a jclouds-based location, and the value of this property will be passed to every invocation of `SshTool.execScript()`.\r\n\r\nThe use case for this is to allow Brooklyn to be usable on locations where the VM image mounts `/tmp` with `noexec`.\r\n\r\nAlso adds some integration tests to verify the correct operation of the `scriptDir` flag.","created_at":"2015-01-27T16:30:14Z","updated_at":"2015-01-30T17:25:56Z","closed_at":"2015-01-30T17:25:56Z","merged_at":"2015-01-30T17:25:56Z","merge_commit_sha":"dd56c75098f39368688bd49bfa4e3a4bd0adc2af","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-brooklyn/pulls/476/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-brooklyn/pulls/476/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-brooklyn/pulls/comments/{number}","comments_url":"https://api.github.com/repos/apache/incubator-brooklyn/issues/476/comments","statuses_url":"https://api.github.com/repos/apache/incubator-brooklyn/statuses/6c9dc76f2265fcc186fd2fe6c32a6f995e2189a5","head":{"label":"rdowner:ssh-script-dir","ref":"ssh-script-dir","sha":"6c9dc76f2265fcc186fd2fe6c32a6f995e2189a5","user":{"login":"rdowner","id":837456,"avatar_url":"https://avatars.githubusercontent.com/u/837456?v=3","gravatar_id":"","url":"https://api.github.com/users/rdowner","html_url":"https://github.com/rdowner","followers_url":"https://api.github.com/users/rdowner/followers","following_url":"https://api.github.com/users/rdowner/following{/other_user}","gists_url":"https://api.github.com/users/rdowner/gists{/gist_id}","starred_url":"https://api.github.com/users/rdowner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdowner/subscriptions","organizations_url":"https://api.github.com/users/rdowner/orgs","repos_url":"https://api.github.com/users/rdowner/repos","events_url":"https://api.github.com/users/rdowner/events{/privacy}","received_events_url":"https://api.github.com/users/rdowner/received_events","type":"User","site_admin":false},"repo":{"id":25572985,"name":"incubator-brooklyn","full_name":"rdowner/incubator-brooklyn","owner":{"login":"rdowner","id":837456,"avatar_url":"https://avatars.githubusercontent.com/u/837456?v=3","gravatar_id":"","url":"https://api.github.com/users/rdowner","html_url":"https://github.com/rdowner","followers_url":"https://api.github.com/users/rdowner/followers","following_url":"https://api.github.com/users/rdowner/following{/other_user}","gists_url":"https://api.github.com/users/rdowner/gists{/gist_id}","starred_url":"https://api.github.com/users/rdowner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdowner/subscriptions","organizations_url":"https://api.github.com/users/rdowner/orgs","repos_url":"https://api.github.com/users/rdowner/repos","events_url":"https://api.github.com/users/rdowner/events{/privacy}","received_events_url":"https://api.github.com/users/rdowner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rdowner/incubator-brooklyn","description":"Mirror of Apache Brooklyn","fork":true,"url":"https://api.github.com/repos/rdowner/incubator-brooklyn","forks_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/forks","keys_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/teams","hooks_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/hooks","issue_events_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/issues/events{/number}","events_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/events","assignees_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/assignees{/user}","branches_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/branches{/branch}","tags_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/tags","blobs_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/statuses/{sha}","languages_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/languages","stargazers_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/stargazers","contributors_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/contributors","subscribers_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/subscribers","subscription_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/subscription","commits_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/issues/comments/{number}","contents_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/contents/{+path}","compare_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/merges","archive_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/downloads","issues_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/issues{/number}","pulls_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/pulls{/number}","milestones_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/milestones{/number}","notifications_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/labels{/name}","releases_url":"https://api.github.com/repos/rdowner/incubator-brooklyn/releases{/id}","created_at":"2014-10-22T09:24:28Z","updated_at":"2015-01-30T15:02:35Z","pushed_at":"2015-01-30T16:03:13Z","git_url":"git://github.com/rdowner/incubator-brooklyn.git","ssh_url":"git@github.com:rdowner/incubator-brooklyn.git","clone_url":"https://github.com/rdowner/incubator-brooklyn.git","svn_url":"https://github.com/rdowner/incubator-brooklyn","homepage":null,"size":233599,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"5145412418ff44160fc26c86cb064e8f39ecbeb8","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":19368221,"name":"incubator-brooklyn","full_name":"apache/incubator-brooklyn","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/incubator-brooklyn","description":"Mirror of Apache Brooklyn","fork":false,"url":"https://api.github.com/repos/apache/incubator-brooklyn","forks_url":"https://api.github.com/repos/apache/incubator-brooklyn/forks","keys_url":"https://api.github.com/repos/apache/incubator-brooklyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-brooklyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-brooklyn/teams","hooks_url":"https://api.github.com/repos/apache/incubator-brooklyn/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-brooklyn/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-brooklyn/events","assignees_url":"https://api.github.com/repos/apache/incubator-brooklyn/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-brooklyn/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-brooklyn/tags","blobs_url":"https://api.github.com/repos/apache/incubator-brooklyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-brooklyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-brooklyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-brooklyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-brooklyn/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-brooklyn/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-brooklyn/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-brooklyn/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-brooklyn/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-brooklyn/subscription","commits_url":"https://api.github.com/repos/apache/incubator-brooklyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-brooklyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-brooklyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-brooklyn/issues/comments/{number}","contents_url":"https://api.github.com/repos/apache/incubator-brooklyn/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-brooklyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-brooklyn/merges","archive_url":"https://api.github.com/repos/apache/incubator-brooklyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-brooklyn/downloads","issues_url":"https://api.github.com/repos/apache/incubator-brooklyn/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-brooklyn/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-brooklyn/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-brooklyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-brooklyn/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-brooklyn/releases{/id}","created_at":"2014-05-02T07:00:07Z","updated_at":"2015-01-30T17:25:55Z","pushed_at":"2015-01-30T17:25:55Z","git_url":"git://github.com/apache/incubator-brooklyn.git","ssh_url":"git@github.com:apache/incubator-brooklyn.git","clone_url":"https://github.com/apache/incubator-brooklyn.git","svn_url":"https://github.com/apache/incubator-brooklyn","homepage":null,"size":244996,"stargazers_count":41,"watchers_count":41,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":41,"mirror_url":"git://git.apache.org/incubator-brooklyn.git","open_issues_count":22,"forks":41,"open_issues":22,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-brooklyn/pulls/476"},"html":{"href":"https://github.com/apache/incubator-brooklyn/pull/476"},"issue":{"href":"https://api.github.com/repos/apache/incubator-brooklyn/issues/476"},"comments":{"href":"https://api.github.com/repos/apache/incubator-brooklyn/issues/476/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-brooklyn/pulls/476/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-brooklyn/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-brooklyn/pulls/476/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-brooklyn/statuses/6c9dc76f2265fcc186fd2fe6c32a6f995e2189a5"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"asfgit","id":1341245,"avatar_url":"https://avatars.githubusercontent.com/u/1341245?v=3","gravatar_id":"","url":"https://api.github.com/users/asfgit","html_url":"https://github.com/asfgit","followers_url":"https://api.github.com/users/asfgit/followers","following_url":"https://api.github.com/users/asfgit/following{/other_user}","gists_url":"https://api.github.com/users/asfgit/gists{/gist_id}","starred_url":"https://api.github.com/users/asfgit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asfgit/subscriptions","organizations_url":"https://api.github.com/users/asfgit/orgs","repos_url":"https://api.github.com/users/asfgit/repos","events_url":"https://api.github.com/users/asfgit/events{/privacy}","received_events_url":"https://api.github.com/users/asfgit/received_events","type":"User","site_admin":false},"comments":7,"review_comments":4,"commits":1,"additions":73,"deletions":3,"changed_files":4}}