{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/comments/34843577","id":34843577,"diff_hunk":"@@ -0,0 +1,304 @@\n+{\n+    \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\n+    \"contentVersion\": \"1.0.0.0\",\n+    \"parameters\": {\n+        \"StorageName\": {\n+            \"type\": \"string\",\n+            \"defaultValue\": \"pctst03stor\",\n+            \"metadata\": {\n+                \"description\": \"The name of the new storage account created to store the VMs disks\"\n+            }\n+        },\n+        \"StorageType\": {\n+            \"type\": \"string\",\n+            \"defaultValue\": \"Standard_LRS\",\n+            \"allowedValues\": [\n+                \"Standard_LRS\",\n+                \"Standard_GRS\",\n+                \"Standard_ZRS\"\n+            ],\n+            \"metadata\": {\n+                \"description\": \"The storage type created to store the VMs disks\"\n+            }\n+        },\n+        \"location\": {\n+            \"type\": \"string\",\n+            \"defaultValue\": \"West Europe\",\n+            \"allowedValues\": [\n+                \"East US\",\n+                \"West US\",\n+                \"West Europe\",\n+                \"East Asia\",\n+                \"South East Asia\"\n+            ],\n+            \"metadata\": {\n+                \"description\": \"The location for the vms and other artefacts to be created.\"\n+            }\n+        },\n+        \"AdminUserName\": {\n+            \"type\": \"string\",\n+            \"defaultValue\": \"domadm\",\n+            \"metadata\": {\n+                \"description\": \"The admin user name for the VM created.\"\n+            }\n+        },\n+        \"AdminPassword\": {\n+            \"type\": \"securestring\",\n+            \"metadata\": {\n+                \"description\": \"The admin password for the VM created.\"\n+            }\n+        },\n+        \"WindowsOSVersion\": {\n+            \"type\": \"string\",\n+            \"defaultValue\": \"2012-R2-Datacenter\",\n+            \"allowedValues\": [\n+                \"2008-R2-SP1\",\n+                \"2012-Datacenter\",\n+                \"2012-R2-Datacenter\",\n+                \"Windows-Server-Technical-Preview\"\n+            ],\n+            \"metadata\": {\n+                \"description\": \"The version of the Windows OS for the VM.\"\n+            }\n+        },\n+        \"ImagePublisher\": {\n+            \"type\": \"string\",\n+            \"defaultValue\": \"MicrosoftWindowsServer\",\n+            \"metadata\": {\n+                \"description\": \"The publisher of the vm.\"\n+            }\n+        },\n+        \"ImageOffer\": {\n+            \"type\": \"string\",\n+            \"defaultValue\": \"WindowsServer\",\n+            \"metadata\": {\n+                \"description\": \"The image used for the Windows vm.\"\n+            }\n+        },\n+        \"VmSize\": {\n+            \"type\": \"string\",\n+            \"defaultValue\": \"Standard_D2\",\n+            \"allowedValues\": [\n+\t\t\t\t\"Standard_A0\",\n+\t\t\t\t\"Standard_A1\",\n+\t\t\t\t\"Standard_A2\",\n+\t\t\t\t\"Standard_A3\",\n+                \"Standard_A4\",\n+                \"Standard_D1\",\n+                \"Standard_D2\",\n+                \"Standard_D3\",\n+                \"Standard_D4\"\n+\t\t\t],\n+            \"metadata\": {\n+                \"description\": \"The machine type for the server vm.\"\n+            }\n+        },\n+        \"dscPullSrvName\": {\n+            \"type\": \"string\",\n+            \"defaultValue\": \"pctst03pull\",\n+            \"metadata\": {\n+                \"description\": \"The name of the Windows vm.\"\n+            }\n+        },\n+        \"dscPullIPDnsName\": {\n+            \"type\": \"string\",\n+            \"defaultValue\": \"pctst03pubipull\",\n+            \"metadata\": {\n+                \"description\": \"The name of the public ip address\"\n+            }\n+        },\n+        \"deployDSCPullServerConfigurationFile\": {\n+            \"type\": \"string\",\n+            \"defaultValue\": \"https://raw.githubusercontent.com/tcsatheesh/azure-quickstart-templates/master/101-deploy-dsc-pullserver-to-win-server/ConfigurePullServer.ps1.zip\",\n+            \"metadata\": {\n+                \"description\": \"The location of the pull server configuration module.\"\n+            }\n+        },\n+        \"deployDSCPullServerConfigurationFunction\": {","path":"101-deploy-dsc-pullserver-to-win-server/azuredeploy.json","position":117,"original_position":117,"commit_id":"a4568e8fc98c5a60bf620386fa18080175959cd6","original_commit_id":"a4568e8fc98c5a60bf620386fa18080175959cd6","user":{"login":"singhkay","id":6164178,"avatar_url":"https://avatars.githubusercontent.com/u/6164178?v=3","gravatar_id":"","url":"https://api.github.com/users/singhkay","html_url":"https://github.com/singhkay","followers_url":"https://api.github.com/users/singhkay/followers","following_url":"https://api.github.com/users/singhkay/following{/other_user}","gists_url":"https://api.github.com/users/singhkay/gists{/gist_id}","starred_url":"https://api.github.com/users/singhkay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singhkay/subscriptions","organizations_url":"https://api.github.com/users/singhkay/orgs","repos_url":"https://api.github.com/users/singhkay/repos","events_url":"https://api.github.com/users/singhkay/events{/privacy}","received_events_url":"https://api.github.com/users/singhkay/received_events","type":"User","site_admin":false},"body":"Make this a variable as the function to call the DSC pull server won't change and needs to be ConfigurePullServer.ps1\\\\ConfigurePullServe","created_at":"2015-07-16T22:08:25Z","updated_at":"2015-07-16T22:08:25Z","html_url":"https://github.com/Azure/azure-quickstart-templates/pull/358#discussion_r34843577","pull_request_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/358","_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/comments/34843577"},"html":{"href":"https://github.com/Azure/azure-quickstart-templates/pull/358#discussion_r34843577"},"pull_request":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/358"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/358","id":38652038,"html_url":"https://github.com/Azure/azure-quickstart-templates/pull/358","diff_url":"https://github.com/Azure/azure-quickstart-templates/pull/358.diff","patch_url":"https://github.com/Azure/azure-quickstart-templates/pull/358.patch","issue_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/358","number":358,"state":"open","locked":false,"title":"Powershell DSC Pull Server","user":{"login":"tcsatheesh","id":5278951,"avatar_url":"https://avatars.githubusercontent.com/u/5278951?v=3","gravatar_id":"","url":"https://api.github.com/users/tcsatheesh","html_url":"https://github.com/tcsatheesh","followers_url":"https://api.github.com/users/tcsatheesh/followers","following_url":"https://api.github.com/users/tcsatheesh/following{/other_user}","gists_url":"https://api.github.com/users/tcsatheesh/gists{/gist_id}","starred_url":"https://api.github.com/users/tcsatheesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcsatheesh/subscriptions","organizations_url":"https://api.github.com/users/tcsatheesh/orgs","repos_url":"https://api.github.com/users/tcsatheesh/repos","events_url":"https://api.github.com/users/tcsatheesh/events{/privacy}","received_events_url":"https://api.github.com/users/tcsatheesh/received_events","type":"User","site_admin":false},"body":"Hi,\r\n\r\nThis is a simple 101 for review on deploying a configuring a DSC Pull Server. I had to jump through a few hoops to try and get this working smoothly. The result is a simple dsc script which has the required workarounds to get this pull server working.\r\nThere are two links 1) in the azuredeploy.json  and 2) in the README.md files that needs to point to the master rather than my fork. \r\n\r\nRegards,\r\n\r\nSatheesh","created_at":"2015-06-26T14:02:46Z","updated_at":"2015-07-16T22:08:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8f90a142fd9a9a2a38574c2e1da938af44a117ab","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/358/commits","review_comments_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/358/comments","review_comment_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/358/comments","statuses_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/statuses/a4568e8fc98c5a60bf620386fa18080175959cd6","head":{"label":"tcsatheesh:master","ref":"master","sha":"a4568e8fc98c5a60bf620386fa18080175959cd6","user":{"login":"tcsatheesh","id":5278951,"avatar_url":"https://avatars.githubusercontent.com/u/5278951?v=3","gravatar_id":"","url":"https://api.github.com/users/tcsatheesh","html_url":"https://github.com/tcsatheesh","followers_url":"https://api.github.com/users/tcsatheesh/followers","following_url":"https://api.github.com/users/tcsatheesh/following{/other_user}","gists_url":"https://api.github.com/users/tcsatheesh/gists{/gist_id}","starred_url":"https://api.github.com/users/tcsatheesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcsatheesh/subscriptions","organizations_url":"https://api.github.com/users/tcsatheesh/orgs","repos_url":"https://api.github.com/users/tcsatheesh/repos","events_url":"https://api.github.com/users/tcsatheesh/events{/privacy}","received_events_url":"https://api.github.com/users/tcsatheesh/received_events","type":"User","site_admin":false},"repo":{"id":38102881,"name":"azure-quickstart-templates","full_name":"tcsatheesh/azure-quickstart-templates","owner":{"login":"tcsatheesh","id":5278951,"avatar_url":"https://avatars.githubusercontent.com/u/5278951?v=3","gravatar_id":"","url":"https://api.github.com/users/tcsatheesh","html_url":"https://github.com/tcsatheesh","followers_url":"https://api.github.com/users/tcsatheesh/followers","following_url":"https://api.github.com/users/tcsatheesh/following{/other_user}","gists_url":"https://api.github.com/users/tcsatheesh/gists{/gist_id}","starred_url":"https://api.github.com/users/tcsatheesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcsatheesh/subscriptions","organizations_url":"https://api.github.com/users/tcsatheesh/orgs","repos_url":"https://api.github.com/users/tcsatheesh/repos","events_url":"https://api.github.com/users/tcsatheesh/events{/privacy}","received_events_url":"https://api.github.com/users/tcsatheesh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tcsatheesh/azure-quickstart-templates","description":"Azure Quickstart Templates","fork":true,"url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates","forks_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/forks","keys_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/teams","hooks_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/hooks","issue_events_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/issues/events{/number}","events_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/events","assignees_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/assignees{/user}","branches_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/branches{/branch}","tags_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/tags","blobs_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/git/refs{/sha}","trees_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/statuses/{sha}","languages_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/languages","stargazers_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/stargazers","contributors_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/contributors","subscribers_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/subscribers","subscription_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/subscription","commits_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/commits{/sha}","git_commits_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/git/commits{/sha}","comments_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/comments{/number}","issue_comment_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/issues/comments{/number}","contents_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/contents/{+path}","compare_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/merges","archive_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/downloads","issues_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/issues{/number}","pulls_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/pulls{/number}","milestones_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/milestones{/number}","notifications_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/labels{/name}","releases_url":"https://api.github.com/repos/tcsatheesh/azure-quickstart-templates/releases{/id}","created_at":"2015-06-26T09:32:02Z","updated_at":"2015-06-26T09:32:03Z","pushed_at":"2015-06-30T14:30:03Z","git_url":"git://github.com/tcsatheesh/azure-quickstart-templates.git","ssh_url":"git@github.com:tcsatheesh/azure-quickstart-templates.git","clone_url":"https://github.com/tcsatheesh/azure-quickstart-templates.git","svn_url":"https://github.com/tcsatheesh/azure-quickstart-templates","homepage":null,"size":11441,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":0,"default_branch":"master"}},"base":{"label":"Azure:master","ref":"master","sha":"6abc9f320e39d9d75dffb60846e88ab80d3ff33a","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":34407651,"name":"azure-quickstart-templates","full_name":"Azure/azure-quickstart-templates","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/azure-quickstart-templates","description":"Azure Quickstart Templates","fork":false,"url":"https://api.github.com/repos/Azure/azure-quickstart-templates","forks_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/forks","keys_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/teams","hooks_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/events","assignees_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/tags","blobs_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/languages","stargazers_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/subscription","commits_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/merges","archive_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/downloads","issues_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/releases{/id}","created_at":"2015-04-22T18:19:03Z","updated_at":"2015-07-16T00:57:49Z","pushed_at":"2015-07-16T20:56:32Z","git_url":"git://github.com/Azure/azure-quickstart-templates.git","ssh_url":"git@github.com:Azure/azure-quickstart-templates.git","clone_url":"https://github.com/Azure/azure-quickstart-templates.git","svn_url":"https://github.com/Azure/azure-quickstart-templates","homepage":null,"size":15177,"stargazers_count":143,"watchers_count":143,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":212,"mirror_url":null,"open_issues_count":20,"forks":212,"open_issues":20,"watchers":143,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/358"},"html":{"href":"https://github.com/Azure/azure-quickstart-templates/pull/358"},"issue":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/358"},"comments":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/358/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/358/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/pulls/358/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/azure-quickstart-templates/statuses/a4568e8fc98c5a60bf620386fa18080175959cd6"}}}}