{"action":"created","comment":{"url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/pulls/comments/236440072","pull_request_review_id":178516758,"id":236440072,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNjQ0MDA3Mg==","diff_hunk":"@@ -96,6 +95,14 @@ $CygwinGroupFile = \"$CygwinDir\\etc\\group\"\n Invoke-Expression $CygwinMkpasswd | Out-File $CygwinPasswdFile -Force -Encoding \"ASCII\"\n Invoke-Expression $CygwinMkgroup | Out-File $CygwinGroupFile -Force -Encoding \"ASCII\"\n \n+# Winrm over HTTPS Configuration\n+Write-Output \"Configurating WinRM over HTTPS\"\n+# Generate Self-Signed Cert with DNS name\n+$DNSHostname = \"$NewVMName.delivery.puppetlabs.net\"","path":"templates/win/common/scripts/vmpooler/vmpooler-post-clone-configuration.ps1","position":15,"original_position":15,"commit_id":"670cc84b2867a56963078675f7acca0733d0c8bb","original_commit_id":"670cc84b2867a56963078675f7acca0733d0c8bb","user":{"login":"Iristyle","id":394081,"node_id":"MDQ6VXNlcjM5NDA4MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/394081?v=4","gravatar_id":"","url":"https://api.github.com/users/Iristyle","html_url":"https://github.com/Iristyle","followers_url":"https://api.github.com/users/Iristyle/followers","following_url":"https://api.github.com/users/Iristyle/following{/other_user}","gists_url":"https://api.github.com/users/Iristyle/gists{/gist_id}","starred_url":"https://api.github.com/users/Iristyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Iristyle/subscriptions","organizations_url":"https://api.github.com/users/Iristyle/orgs","repos_url":"https://api.github.com/users/Iristyle/repos","events_url":"https://api.github.com/users/Iristyle/events{/privacy}","received_events_url":"https://api.github.com/users/Iristyle/received_events","type":"User","site_admin":false},"body":"Given the script name `vmpooler-post-clone-configuration.ps1`, I'm assuming this runs as part of booting the VM after it's acquired a new hostname?","created_at":"2018-11-26T21:48:29Z","updated_at":"2018-11-26T21:48:30Z","html_url":"https://github.com/puppetlabs/puppetlabs-packer/pull/388#discussion_r236440072","pull_request_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/pulls/388","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/pulls/comments/236440072"},"html":{"href":"https://github.com/puppetlabs/puppetlabs-packer/pull/388#discussion_r236440072"},"pull_request":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/pulls/388"}}},"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/pulls/388","id":233217798,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzMjE3Nzk4","html_url":"https://github.com/puppetlabs/puppetlabs-packer/pull/388","diff_url":"https://github.com/puppetlabs/puppetlabs-packer/pull/388.diff","patch_url":"https://github.com/puppetlabs/puppetlabs-packer/pull/388.patch","issue_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/issues/388","number":388,"state":"open","locked":false,"title":"(IMAGES-840) WinRm https access","user":{"login":"jcoconnor","id":13116231,"node_id":"MDQ6VXNlcjEzMTE2MjMx","avatar_url":"https://avatars3.githubusercontent.com/u/13116231?v=4","gravatar_id":"","url":"https://api.github.com/users/jcoconnor","html_url":"https://github.com/jcoconnor","followers_url":"https://api.github.com/users/jcoconnor/followers","following_url":"https://api.github.com/users/jcoconnor/following{/other_user}","gists_url":"https://api.github.com/users/jcoconnor/gists{/gist_id}","starred_url":"https://api.github.com/users/jcoconnor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcoconnor/subscriptions","organizations_url":"https://api.github.com/users/jcoconnor/orgs","repos_url":"https://api.github.com/users/jcoconnor/repos","events_url":"https://api.github.com/users/jcoconnor/events{/privacy}","received_events_url":"https://api.github.com/users/jcoconnor/received_events","type":"User","site_admin":false},"body":"Enable HTTPS Winrm access during the vmpooler post-clone operation\r\nwhere we know what the machines DNS name is going to be","created_at":"2018-11-23T14:37:01Z","updated_at":"2018-11-26T21:48:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"18c6899f814c2724960ea7b10a0c6942faa88d49","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":298516995,"node_id":"MDU6TGFiZWwyOTg1MTY5OTU=","url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/labels/don't%20merge","name":"don't merge","color":"e11d21","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/pulls/388/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/pulls/388/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/issues/388/comments","statuses_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/statuses/670cc84b2867a56963078675f7acca0733d0c8bb","head":{"label":"jcoconnor:IMAGES-840-WinRm-Https","ref":"IMAGES-840-WinRm-Https","sha":"670cc84b2867a56963078675f7acca0733d0c8bb","user":{"login":"jcoconnor","id":13116231,"node_id":"MDQ6VXNlcjEzMTE2MjMx","avatar_url":"https://avatars3.githubusercontent.com/u/13116231?v=4","gravatar_id":"","url":"https://api.github.com/users/jcoconnor","html_url":"https://github.com/jcoconnor","followers_url":"https://api.github.com/users/jcoconnor/followers","following_url":"https://api.github.com/users/jcoconnor/following{/other_user}","gists_url":"https://api.github.com/users/jcoconnor/gists{/gist_id}","starred_url":"https://api.github.com/users/jcoconnor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcoconnor/subscriptions","organizations_url":"https://api.github.com/users/jcoconnor/orgs","repos_url":"https://api.github.com/users/jcoconnor/repos","events_url":"https://api.github.com/users/jcoconnor/events{/privacy}","received_events_url":"https://api.github.com/users/jcoconnor/received_events","type":"User","site_admin":false},"repo":{"id":38872547,"node_id":"MDEwOlJlcG9zaXRvcnkzODg3MjU0Nw==","name":"puppetlabs-packer","full_name":"jcoconnor/puppetlabs-packer","private":false,"owner":{"login":"jcoconnor","id":13116231,"node_id":"MDQ6VXNlcjEzMTE2MjMx","avatar_url":"https://avatars3.githubusercontent.com/u/13116231?v=4","gravatar_id":"","url":"https://api.github.com/users/jcoconnor","html_url":"https://github.com/jcoconnor","followers_url":"https://api.github.com/users/jcoconnor/followers","following_url":"https://api.github.com/users/jcoconnor/following{/other_user}","gists_url":"https://api.github.com/users/jcoconnor/gists{/gist_id}","starred_url":"https://api.github.com/users/jcoconnor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcoconnor/subscriptions","organizations_url":"https://api.github.com/users/jcoconnor/orgs","repos_url":"https://api.github.com/users/jcoconnor/repos","events_url":"https://api.github.com/users/jcoconnor/events{/privacy}","received_events_url":"https://api.github.com/users/jcoconnor/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jcoconnor/puppetlabs-packer","description":null,"fork":true,"url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer","forks_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/forks","keys_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/teams","hooks_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/hooks","issue_events_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/issues/events{/number}","events_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/events","assignees_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/assignees{/user}","branches_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/branches{/branch}","tags_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/tags","blobs_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/git/refs{/sha}","trees_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/statuses/{sha}","languages_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/languages","stargazers_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/stargazers","contributors_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/contributors","subscribers_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/subscribers","subscription_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/subscription","commits_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/commits{/sha}","git_commits_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/git/commits{/sha}","comments_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/comments{/number}","issue_comment_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/issues/comments{/number}","contents_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/contents/{+path}","compare_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/merges","archive_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/downloads","issues_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/issues{/number}","pulls_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/pulls{/number}","milestones_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/milestones{/number}","notifications_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/labels{/name}","releases_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/releases{/id}","deployments_url":"https://api.github.com/repos/jcoconnor/puppetlabs-packer/deployments","created_at":"2015-07-10T09:28:31Z","updated_at":"2018-11-26T13:01:41Z","pushed_at":"2018-11-26T21:43:42Z","git_url":"git://github.com/jcoconnor/puppetlabs-packer.git","ssh_url":"git@github.com:jcoconnor/puppetlabs-packer.git","clone_url":"https://github.com/jcoconnor/puppetlabs-packer.git","svn_url":"https://github.com/jcoconnor/puppetlabs-packer","homepage":null,"size":1697,"stargazers_count":0,"watchers_count":0,"language":"PowerShell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"puppetlabs:master","ref":"master","sha":"d2b02f90bc88012abfd55ea347c39af56250850d","user":{"login":"puppetlabs","id":234268,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzNDI2OA==","avatar_url":"https://avatars0.githubusercontent.com/u/234268?v=4","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":21011440,"node_id":"MDEwOlJlcG9zaXRvcnkyMTAxMTQ0MA==","name":"puppetlabs-packer","full_name":"puppetlabs/puppetlabs-packer","private":false,"owner":{"login":"puppetlabs","id":234268,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzNDI2OA==","avatar_url":"https://avatars0.githubusercontent.com/u/234268?v=4","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/puppetlabs/puppetlabs-packer","description":"Packer templates to build images for vSphere","fork":false,"url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer","forks_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/forks","keys_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/teams","hooks_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/events","assignees_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/tags","blobs_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/subscription","commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/merges","archive_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/downloads","issues_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/releases{/id}","deployments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/deployments","created_at":"2014-06-19T18:43:51Z","updated_at":"2018-11-26T12:33:32Z","pushed_at":"2018-11-26T21:43:43Z","git_url":"git://github.com/puppetlabs/puppetlabs-packer.git","ssh_url":"git@github.com:puppetlabs/puppetlabs-packer.git","clone_url":"https://github.com/puppetlabs/puppetlabs-packer.git","svn_url":"https://github.com/puppetlabs/puppetlabs-packer","homepage":"","size":1692,"stargazers_count":82,"watchers_count":82,"language":"PowerShell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":70,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":70,"open_issues":6,"watchers":82,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/pulls/388"},"html":{"href":"https://github.com/puppetlabs/puppetlabs-packer/pull/388"},"issue":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/issues/388"},"comments":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/issues/388/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/pulls/388/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/pulls/388/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-packer/statuses/670cc84b2867a56963078675f7acca0733d0c8bb"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Iristyle"}}