{"action":"opened","number":27,"pull_request":{"url":"https://api.github.com/repos/Sainsburys/chef-websphere/pulls/27","id":148320501,"html_url":"https://github.com/Sainsburys/chef-websphere/pull/27","diff_url":"https://github.com/Sainsburys/chef-websphere/pull/27.diff","patch_url":"https://github.com/Sainsburys/chef-websphere/pull/27.patch","issue_url":"https://api.github.com/repos/Sainsburys/chef-websphere/issues/27","number":27,"state":"open","locked":false,"title":"add ability to specify a template for new cluster member","user":{"login":"tad78","id":13466269,"avatar_url":"https://avatars0.githubusercontent.com/u/13466269?v=4","gravatar_id":"","url":"https://api.github.com/users/tad78","html_url":"https://github.com/tad78","followers_url":"https://api.github.com/users/tad78/followers","following_url":"https://api.github.com/users/tad78/following{/other_user}","gists_url":"https://api.github.com/users/tad78/gists{/gist_id}","starred_url":"https://api.github.com/users/tad78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tad78/subscriptions","organizations_url":"https://api.github.com/users/tad78/orgs","repos_url":"https://api.github.com/users/tad78/repos","events_url":"https://api.github.com/users/tad78/events{/privacy}","received_events_url":"https://api.github.com/users/tad78/received_events","type":"User","site_admin":false},"body":"Well the first attempt at fixing the templating issue for clusters didn't work as expected. Turns out that WAS ignores any defined template on a cluster if there are no cluster members. When you add the first member it then uses the default application server template (which is very simple) and creates a cluster template from this which is then used for all other server additions.\r\n\r\nI've updated the cluster_member recipe to allow us to pass in a template node and server to use to create the template if there are no other servers in the cluster.","created_at":"2017-10-24T07:47:14Z","updated_at":"2017-10-24T07:47:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Sainsburys/chef-websphere/pulls/27/commits","review_comments_url":"https://api.github.com/repos/Sainsburys/chef-websphere/pulls/27/comments","review_comment_url":"https://api.github.com/repos/Sainsburys/chef-websphere/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Sainsburys/chef-websphere/issues/27/comments","statuses_url":"https://api.github.com/repos/Sainsburys/chef-websphere/statuses/ed68770a4b94b75835458e4b16ec12bee4fb14d6","head":{"label":"Sainsburys:pass_template_for_cluster_member","ref":"pass_template_for_cluster_member","sha":"ed68770a4b94b75835458e4b16ec12bee4fb14d6","user":{"login":"Sainsburys","id":11195338,"avatar_url":"https://avatars0.githubusercontent.com/u/11195338?v=4","gravatar_id":"","url":"https://api.github.com/users/Sainsburys","html_url":"https://github.com/Sainsburys","followers_url":"https://api.github.com/users/Sainsburys/followers","following_url":"https://api.github.com/users/Sainsburys/following{/other_user}","gists_url":"https://api.github.com/users/Sainsburys/gists{/gist_id}","starred_url":"https://api.github.com/users/Sainsburys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sainsburys/subscriptions","organizations_url":"https://api.github.com/users/Sainsburys/orgs","repos_url":"https://api.github.com/users/Sainsburys/repos","events_url":"https://api.github.com/users/Sainsburys/events{/privacy}","received_events_url":"https://api.github.com/users/Sainsburys/received_events","type":"Organization","site_admin":false},"repo":{"id":72119318,"name":"chef-websphere","full_name":"Sainsburys/chef-websphere","owner":{"login":"Sainsburys","id":11195338,"avatar_url":"https://avatars0.githubusercontent.com/u/11195338?v=4","gravatar_id":"","url":"https://api.github.com/users/Sainsburys","html_url":"https://github.com/Sainsburys","followers_url":"https://api.github.com/users/Sainsburys/followers","following_url":"https://api.github.com/users/Sainsburys/following{/other_user}","gists_url":"https://api.github.com/users/Sainsburys/gists{/gist_id}","starred_url":"https://api.github.com/users/Sainsburys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sainsburys/subscriptions","organizations_url":"https://api.github.com/users/Sainsburys/orgs","repos_url":"https://api.github.com/users/Sainsburys/repos","events_url":"https://api.github.com/users/Sainsburys/events{/privacy}","received_events_url":"https://api.github.com/users/Sainsburys/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Sainsburys/chef-websphere","description":"Development repository for websphere chef cookbook","fork":false,"url":"https://api.github.com/repos/Sainsburys/chef-websphere","forks_url":"https://api.github.com/repos/Sainsburys/chef-websphere/forks","keys_url":"https://api.github.com/repos/Sainsburys/chef-websphere/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sainsburys/chef-websphere/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sainsburys/chef-websphere/teams","hooks_url":"https://api.github.com/repos/Sainsburys/chef-websphere/hooks","issue_events_url":"https://api.github.com/repos/Sainsburys/chef-websphere/issues/events{/number}","events_url":"https://api.github.com/repos/Sainsburys/chef-websphere/events","assignees_url":"https://api.github.com/repos/Sainsburys/chef-websphere/assignees{/user}","branches_url":"https://api.github.com/repos/Sainsburys/chef-websphere/branches{/branch}","tags_url":"https://api.github.com/repos/Sainsburys/chef-websphere/tags","blobs_url":"https://api.github.com/repos/Sainsburys/chef-websphere/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sainsburys/chef-websphere/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sainsburys/chef-websphere/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sainsburys/chef-websphere/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sainsburys/chef-websphere/statuses/{sha}","languages_url":"https://api.github.com/repos/Sainsburys/chef-websphere/languages","stargazers_url":"https://api.github.com/repos/Sainsburys/chef-websphere/stargazers","contributors_url":"https://api.github.com/repos/Sainsburys/chef-websphere/contributors","subscribers_url":"https://api.github.com/repos/Sainsburys/chef-websphere/subscribers","subscription_url":"https://api.github.com/repos/Sainsburys/chef-websphere/subscription","commits_url":"https://api.github.com/repos/Sainsburys/chef-websphere/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sainsburys/chef-websphere/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sainsburys/chef-websphere/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sainsburys/chef-websphere/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sainsburys/chef-websphere/contents/{+path}","compare_url":"https://api.github.com/repos/Sainsburys/chef-websphere/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sainsburys/chef-websphere/merges","archive_url":"https://api.github.com/repos/Sainsburys/chef-websphere/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sainsburys/chef-websphere/downloads","issues_url":"https://api.github.com/repos/Sainsburys/chef-websphere/issues{/number}","pulls_url":"https://api.github.com/repos/Sainsburys/chef-websphere/pulls{/number}","milestones_url":"https://api.github.com/repos/Sainsburys/chef-websphere/milestones{/number}","notifications_url":"https://api.github.com/repos/Sainsburys/chef-websphere/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sainsburys/chef-websphere/labels{/name}","releases_url":"https://api.github.com/repos/Sainsburys/chef-websphere/releases{/id}","deployments_url":"https://api.github.com/repos/Sainsburys/chef-websphere/deployments","created_at":"2016-10-27T15:00:12Z","updated_at":"2017-06-20T21:40:19Z","pushed_at":"2017-10-24T07:41:38Z","git_url":"git://github.com/Sainsburys/chef-websphere.git","ssh_url":"git@github.com:Sainsburys/chef-websphere.git","clone_url":"https://github.com/Sainsburys/chef-websphere.git","svn_url":"https://github.com/Sainsburys/chef-websphere","homepage":"https://supermarket.chef.io/cookbooks/websphere","size":175,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":5,"forks":6,"open_issues":5,"watchers":4,"default_branch":"master"}},"base":{"label":"Sainsburys:scoped_cluser_members","ref":"scoped_cluser_members","sha":"cf7c2debd27c2d8e8fc77bd74df928d0c7013d52","user":{"login":"Sainsburys","id":11195338,"avatar_url":"https://avatars0.githubusercontent.com/u/11195338?v=4","gravatar_id":"","url":"https://api.github.com/users/Sainsburys","html_url":"https://github.com/Sainsburys","followers_url":"https://api.github.com/users/Sainsburys/followers","following_url":"https://api.github.com/users/Sainsburys/following{/other_user}","gists_url":"https://api.github.com/users/Sainsburys/gists{/gist_id}","starred_url":"https://api.github.com/users/Sainsburys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sainsburys/subscriptions","organizations_url":"https://api.github.com/users/Sainsburys/orgs","repos_url":"https://api.github.com/users/Sainsburys/repos","events_url":"https://api.github.com/users/Sainsburys/events{/privacy}","received_events_url":"https://api.github.com/users/Sainsburys/received_events","type":"Organization","site_admin":false},"repo":{"id":72119318,"name":"chef-websphere","full_name":"Sainsburys/chef-websphere","owner":{"login":"Sainsburys","id":11195338,"avatar_url":"https://avatars0.githubusercontent.com/u/11195338?v=4","gravatar_id":"","url":"https://api.github.com/users/Sainsburys","html_url":"https://github.com/Sainsburys","followers_url":"https://api.github.com/users/Sainsburys/followers","following_url":"https://api.github.com/users/Sainsburys/following{/other_user}","gists_url":"https://api.github.com/users/Sainsburys/gists{/gist_id}","starred_url":"https://api.github.com/users/Sainsburys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sainsburys/subscriptions","organizations_url":"https://api.github.com/users/Sainsburys/orgs","repos_url":"https://api.github.com/users/Sainsburys/repos","events_url":"https://api.github.com/users/Sainsburys/events{/privacy}","received_events_url":"https://api.github.com/users/Sainsburys/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Sainsburys/chef-websphere","description":"Development repository for websphere chef cookbook","fork":false,"url":"https://api.github.com/repos/Sainsburys/chef-websphere","forks_url":"https://api.github.com/repos/Sainsburys/chef-websphere/forks","keys_url":"https://api.github.com/repos/Sainsburys/chef-websphere/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sainsburys/chef-websphere/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sainsburys/chef-websphere/teams","hooks_url":"https://api.github.com/repos/Sainsburys/chef-websphere/hooks","issue_events_url":"https://api.github.com/repos/Sainsburys/chef-websphere/issues/events{/number}","events_url":"https://api.github.com/repos/Sainsburys/chef-websphere/events","assignees_url":"https://api.github.com/repos/Sainsburys/chef-websphere/assignees{/user}","branches_url":"https://api.github.com/repos/Sainsburys/chef-websphere/branches{/branch}","tags_url":"https://api.github.com/repos/Sainsburys/chef-websphere/tags","blobs_url":"https://api.github.com/repos/Sainsburys/chef-websphere/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sainsburys/chef-websphere/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sainsburys/chef-websphere/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sainsburys/chef-websphere/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sainsburys/chef-websphere/statuses/{sha}","languages_url":"https://api.github.com/repos/Sainsburys/chef-websphere/languages","stargazers_url":"https://api.github.com/repos/Sainsburys/chef-websphere/stargazers","contributors_url":"https://api.github.com/repos/Sainsburys/chef-websphere/contributors","subscribers_url":"https://api.github.com/repos/Sainsburys/chef-websphere/subscribers","subscription_url":"https://api.github.com/repos/Sainsburys/chef-websphere/subscription","commits_url":"https://api.github.com/repos/Sainsburys/chef-websphere/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sainsburys/chef-websphere/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sainsburys/chef-websphere/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sainsburys/chef-websphere/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sainsburys/chef-websphere/contents/{+path}","compare_url":"https://api.github.com/repos/Sainsburys/chef-websphere/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sainsburys/chef-websphere/merges","archive_url":"https://api.github.com/repos/Sainsburys/chef-websphere/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sainsburys/chef-websphere/downloads","issues_url":"https://api.github.com/repos/Sainsburys/chef-websphere/issues{/number}","pulls_url":"https://api.github.com/repos/Sainsburys/chef-websphere/pulls{/number}","milestones_url":"https://api.github.com/repos/Sainsburys/chef-websphere/milestones{/number}","notifications_url":"https://api.github.com/repos/Sainsburys/chef-websphere/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sainsburys/chef-websphere/labels{/name}","releases_url":"https://api.github.com/repos/Sainsburys/chef-websphere/releases{/id}","deployments_url":"https://api.github.com/repos/Sainsburys/chef-websphere/deployments","created_at":"2016-10-27T15:00:12Z","updated_at":"2017-06-20T21:40:19Z","pushed_at":"2017-10-24T07:41:38Z","git_url":"git://github.com/Sainsburys/chef-websphere.git","ssh_url":"git@github.com:Sainsburys/chef-websphere.git","clone_url":"https://github.com/Sainsburys/chef-websphere.git","svn_url":"https://github.com/Sainsburys/chef-websphere","homepage":"https://supermarket.chef.io/cookbooks/websphere","size":175,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":5,"forks":6,"open_issues":5,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Sainsburys/chef-websphere/pulls/27"},"html":{"href":"https://github.com/Sainsburys/chef-websphere/pull/27"},"issue":{"href":"https://api.github.com/repos/Sainsburys/chef-websphere/issues/27"},"comments":{"href":"https://api.github.com/repos/Sainsburys/chef-websphere/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/Sainsburys/chef-websphere/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/Sainsburys/chef-websphere/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Sainsburys/chef-websphere/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/Sainsburys/chef-websphere/statuses/ed68770a4b94b75835458e4b16ec12bee4fb14d6"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":15,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"tad78"}}