{"action":"created","comment":{"url":"https://api.github.com/repos/bloomberg/chef-bcpc/pulls/comments/28519566","id":28519566,"diff_hunk":"@@ -55,6 +56,26 @@\n         mode 00600\n         notifies :restart, \"service[pdns]\", :delayed\n     end\n+    \n+\t# if this attribute is true, Chef will back up the PowerDNS database and drop it if\n+\t# the specified lock file does not exist\n+\t# (a drop is necessary to facilitate migrating to the bulk fixed IP scheme)\n+\tif node['bcpc']['enabled']['automate_migration_to_fixed_ip_dns']\n+\t\tlock_file = \"/usr/local/etc/.already_migrated_to_fixed_ip_dns\"","path":"cookbooks/bcpc/recipes/powerdns.rb","position":17,"original_position":17,"commit_id":"83f7d190fc07e3a2d6ca5ed4589cf9ee818e33f5","original_commit_id":"83f7d190fc07e3a2d6ca5ed4589cf9ee818e33f5","user":{"login":"erhudy","id":1065271,"avatar_url":"https://avatars.githubusercontent.com/u/1065271?v=3","gravatar_id":"","url":"https://api.github.com/users/erhudy","html_url":"https://github.com/erhudy","followers_url":"https://api.github.com/users/erhudy/followers","following_url":"https://api.github.com/users/erhudy/following{/other_user}","gists_url":"https://api.github.com/users/erhudy/gists{/gist_id}","starred_url":"https://api.github.com/users/erhudy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erhudy/subscriptions","organizations_url":"https://api.github.com/users/erhudy/orgs","repos_url":"https://api.github.com/users/erhudy/repos","events_url":"https://api.github.com/users/erhudy/events{/privacy}","received_events_url":"https://api.github.com/users/erhudy/received_events","type":"User","site_admin":false},"body":"After discussing with kkoh61 and thinking about it, I am removing this section entirely since it's potentially a lot of automation work for something that would take a human about 30 seconds one time.","created_at":"2015-04-16T15:25:01Z","updated_at":"2015-04-16T15:25:01Z","html_url":"https://github.com/bloomberg/chef-bcpc/pull/533#discussion_r28519566","pull_request_url":"https://api.github.com/repos/bloomberg/chef-bcpc/pulls/533","_links":{"self":{"href":"https://api.github.com/repos/bloomberg/chef-bcpc/pulls/comments/28519566"},"html":{"href":"https://github.com/bloomberg/chef-bcpc/pull/533#discussion_r28519566"},"pull_request":{"href":"https://api.github.com/repos/bloomberg/chef-bcpc/pulls/533"}}},"pull_request":{"url":"https://api.github.com/repos/bloomberg/chef-bcpc/pulls/533","id":32905812,"html_url":"https://github.com/bloomberg/chef-bcpc/pull/533","diff_url":"https://github.com/bloomberg/chef-bcpc/pull/533.diff","patch_url":"https://github.com/bloomberg/chef-bcpc/pull/533.patch","issue_url":"https://api.github.com/repos/bloomberg/chef-bcpc/issues/533","number":533,"state":"open","locked":false,"title":"EC2-style hostnames (supersedes PR #476)","user":{"login":"erhudy","id":1065271,"avatar_url":"https://avatars.githubusercontent.com/u/1065271?v=3","gravatar_id":"","url":"https://api.github.com/users/erhudy","html_url":"https://github.com/erhudy","followers_url":"https://api.github.com/users/erhudy/followers","following_url":"https://api.github.com/users/erhudy/following{/other_user}","gists_url":"https://api.github.com/users/erhudy/gists{/gist_id}","starred_url":"https://api.github.com/users/erhudy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erhudy/subscriptions","organizations_url":"https://api.github.com/users/erhudy/orgs","repos_url":"https://api.github.com/users/erhudy/repos","events_url":"https://api.github.com/users/erhudy/events{/privacy}","received_events_url":"https://api.github.com/users/erhudy/received_events","type":"User","site_admin":false},"body":"This pull request is a replacement for PR #476. Please see that pull request for the full details of what this is accomplishing.\r\n\r\ntl;dr: this adds EC2-style hostnames (ip-1-127-0-x and public-100-100-100-x) and converts instance names to CNAMEs.","created_at":"2015-04-08T21:50:24Z","updated_at":"2015-04-16T15:25:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2fc5b836125c6fe73c133316e93b5e9ce70f4239","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bloomberg/chef-bcpc/pulls/533/commits","review_comments_url":"https://api.github.com/repos/bloomberg/chef-bcpc/pulls/533/comments","review_comment_url":"https://api.github.com/repos/bloomberg/chef-bcpc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bloomberg/chef-bcpc/issues/533/comments","statuses_url":"https://api.github.com/repos/bloomberg/chef-bcpc/statuses/83f7d190fc07e3a2d6ca5ed4589cf9ee818e33f5","head":{"label":"erhudy:dns_ip_hostnames","ref":"dns_ip_hostnames","sha":"83f7d190fc07e3a2d6ca5ed4589cf9ee818e33f5","user":{"login":"erhudy","id":1065271,"avatar_url":"https://avatars.githubusercontent.com/u/1065271?v=3","gravatar_id":"","url":"https://api.github.com/users/erhudy","html_url":"https://github.com/erhudy","followers_url":"https://api.github.com/users/erhudy/followers","following_url":"https://api.github.com/users/erhudy/following{/other_user}","gists_url":"https://api.github.com/users/erhudy/gists{/gist_id}","starred_url":"https://api.github.com/users/erhudy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erhudy/subscriptions","organizations_url":"https://api.github.com/users/erhudy/orgs","repos_url":"https://api.github.com/users/erhudy/repos","events_url":"https://api.github.com/users/erhudy/events{/privacy}","received_events_url":"https://api.github.com/users/erhudy/received_events","type":"User","site_admin":false},"repo":{"id":33505963,"name":"chef-bcpc","full_name":"erhudy/chef-bcpc","owner":{"login":"erhudy","id":1065271,"avatar_url":"https://avatars.githubusercontent.com/u/1065271?v=3","gravatar_id":"","url":"https://api.github.com/users/erhudy","html_url":"https://github.com/erhudy","followers_url":"https://api.github.com/users/erhudy/followers","following_url":"https://api.github.com/users/erhudy/following{/other_user}","gists_url":"https://api.github.com/users/erhudy/gists{/gist_id}","starred_url":"https://api.github.com/users/erhudy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erhudy/subscriptions","organizations_url":"https://api.github.com/users/erhudy/orgs","repos_url":"https://api.github.com/users/erhudy/repos","events_url":"https://api.github.com/users/erhudy/events{/privacy}","received_events_url":"https://api.github.com/users/erhudy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erhudy/chef-bcpc","description":"A set of recipes for Chef used to build Bloomberg Clustered Private Cloud nodes.","fork":true,"url":"https://api.github.com/repos/erhudy/chef-bcpc","forks_url":"https://api.github.com/repos/erhudy/chef-bcpc/forks","keys_url":"https://api.github.com/repos/erhudy/chef-bcpc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erhudy/chef-bcpc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erhudy/chef-bcpc/teams","hooks_url":"https://api.github.com/repos/erhudy/chef-bcpc/hooks","issue_events_url":"https://api.github.com/repos/erhudy/chef-bcpc/issues/events{/number}","events_url":"https://api.github.com/repos/erhudy/chef-bcpc/events","assignees_url":"https://api.github.com/repos/erhudy/chef-bcpc/assignees{/user}","branches_url":"https://api.github.com/repos/erhudy/chef-bcpc/branches{/branch}","tags_url":"https://api.github.com/repos/erhudy/chef-bcpc/tags","blobs_url":"https://api.github.com/repos/erhudy/chef-bcpc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erhudy/chef-bcpc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erhudy/chef-bcpc/git/refs{/sha}","trees_url":"https://api.github.com/repos/erhudy/chef-bcpc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erhudy/chef-bcpc/statuses/{sha}","languages_url":"https://api.github.com/repos/erhudy/chef-bcpc/languages","stargazers_url":"https://api.github.com/repos/erhudy/chef-bcpc/stargazers","contributors_url":"https://api.github.com/repos/erhudy/chef-bcpc/contributors","subscribers_url":"https://api.github.com/repos/erhudy/chef-bcpc/subscribers","subscription_url":"https://api.github.com/repos/erhudy/chef-bcpc/subscription","commits_url":"https://api.github.com/repos/erhudy/chef-bcpc/commits{/sha}","git_commits_url":"https://api.github.com/repos/erhudy/chef-bcpc/git/commits{/sha}","comments_url":"https://api.github.com/repos/erhudy/chef-bcpc/comments{/number}","issue_comment_url":"https://api.github.com/repos/erhudy/chef-bcpc/issues/comments{/number}","contents_url":"https://api.github.com/repos/erhudy/chef-bcpc/contents/{+path}","compare_url":"https://api.github.com/repos/erhudy/chef-bcpc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erhudy/chef-bcpc/merges","archive_url":"https://api.github.com/repos/erhudy/chef-bcpc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erhudy/chef-bcpc/downloads","issues_url":"https://api.github.com/repos/erhudy/chef-bcpc/issues{/number}","pulls_url":"https://api.github.com/repos/erhudy/chef-bcpc/pulls{/number}","milestones_url":"https://api.github.com/repos/erhudy/chef-bcpc/milestones{/number}","notifications_url":"https://api.github.com/repos/erhudy/chef-bcpc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erhudy/chef-bcpc/labels{/name}","releases_url":"https://api.github.com/repos/erhudy/chef-bcpc/releases{/id}","created_at":"2015-04-06T21:07:44Z","updated_at":"2015-04-06T21:07:45Z","pushed_at":"2015-04-08T21:46:41Z","git_url":"git://github.com/erhudy/chef-bcpc.git","ssh_url":"git@github.com:erhudy/chef-bcpc.git","clone_url":"https://github.com/erhudy/chef-bcpc.git","svn_url":"https://github.com/erhudy/chef-bcpc","homepage":null,"size":2857,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bloomberg:master","ref":"master","sha":"88dbd1a2678d18ae09ea0a73dd183bb76dbcd06a","user":{"login":"bloomberg","id":1416818,"avatar_url":"https://avatars.githubusercontent.com/u/1416818?v=3","gravatar_id":"","url":"https://api.github.com/users/bloomberg","html_url":"https://github.com/bloomberg","followers_url":"https://api.github.com/users/bloomberg/followers","following_url":"https://api.github.com/users/bloomberg/following{/other_user}","gists_url":"https://api.github.com/users/bloomberg/gists{/gist_id}","starred_url":"https://api.github.com/users/bloomberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bloomberg/subscriptions","organizations_url":"https://api.github.com/users/bloomberg/orgs","repos_url":"https://api.github.com/users/bloomberg/repos","events_url":"https://api.github.com/users/bloomberg/events{/privacy}","received_events_url":"https://api.github.com/users/bloomberg/received_events","type":"Organization","site_admin":false},"repo":{"id":9452427,"name":"chef-bcpc","full_name":"bloomberg/chef-bcpc","owner":{"login":"bloomberg","id":1416818,"avatar_url":"https://avatars.githubusercontent.com/u/1416818?v=3","gravatar_id":"","url":"https://api.github.com/users/bloomberg","html_url":"https://github.com/bloomberg","followers_url":"https://api.github.com/users/bloomberg/followers","following_url":"https://api.github.com/users/bloomberg/following{/other_user}","gists_url":"https://api.github.com/users/bloomberg/gists{/gist_id}","starred_url":"https://api.github.com/users/bloomberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bloomberg/subscriptions","organizations_url":"https://api.github.com/users/bloomberg/orgs","repos_url":"https://api.github.com/users/bloomberg/repos","events_url":"https://api.github.com/users/bloomberg/events{/privacy}","received_events_url":"https://api.github.com/users/bloomberg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bloomberg/chef-bcpc","description":"A set of recipes for Chef used to build Bloomberg Clustered Private Cloud nodes.","fork":false,"url":"https://api.github.com/repos/bloomberg/chef-bcpc","forks_url":"https://api.github.com/repos/bloomberg/chef-bcpc/forks","keys_url":"https://api.github.com/repos/bloomberg/chef-bcpc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bloomberg/chef-bcpc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bloomberg/chef-bcpc/teams","hooks_url":"https://api.github.com/repos/bloomberg/chef-bcpc/hooks","issue_events_url":"https://api.github.com/repos/bloomberg/chef-bcpc/issues/events{/number}","events_url":"https://api.github.com/repos/bloomberg/chef-bcpc/events","assignees_url":"https://api.github.com/repos/bloomberg/chef-bcpc/assignees{/user}","branches_url":"https://api.github.com/repos/bloomberg/chef-bcpc/branches{/branch}","tags_url":"https://api.github.com/repos/bloomberg/chef-bcpc/tags","blobs_url":"https://api.github.com/repos/bloomberg/chef-bcpc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bloomberg/chef-bcpc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bloomberg/chef-bcpc/git/refs{/sha}","trees_url":"https://api.github.com/repos/bloomberg/chef-bcpc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bloomberg/chef-bcpc/statuses/{sha}","languages_url":"https://api.github.com/repos/bloomberg/chef-bcpc/languages","stargazers_url":"https://api.github.com/repos/bloomberg/chef-bcpc/stargazers","contributors_url":"https://api.github.com/repos/bloomberg/chef-bcpc/contributors","subscribers_url":"https://api.github.com/repos/bloomberg/chef-bcpc/subscribers","subscription_url":"https://api.github.com/repos/bloomberg/chef-bcpc/subscription","commits_url":"https://api.github.com/repos/bloomberg/chef-bcpc/commits{/sha}","git_commits_url":"https://api.github.com/repos/bloomberg/chef-bcpc/git/commits{/sha}","comments_url":"https://api.github.com/repos/bloomberg/chef-bcpc/comments{/number}","issue_comment_url":"https://api.github.com/repos/bloomberg/chef-bcpc/issues/comments{/number}","contents_url":"https://api.github.com/repos/bloomberg/chef-bcpc/contents/{+path}","compare_url":"https://api.github.com/repos/bloomberg/chef-bcpc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bloomberg/chef-bcpc/merges","archive_url":"https://api.github.com/repos/bloomberg/chef-bcpc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bloomberg/chef-bcpc/downloads","issues_url":"https://api.github.com/repos/bloomberg/chef-bcpc/issues{/number}","pulls_url":"https://api.github.com/repos/bloomberg/chef-bcpc/pulls{/number}","milestones_url":"https://api.github.com/repos/bloomberg/chef-bcpc/milestones{/number}","notifications_url":"https://api.github.com/repos/bloomberg/chef-bcpc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bloomberg/chef-bcpc/labels{/name}","releases_url":"https://api.github.com/repos/bloomberg/chef-bcpc/releases{/id}","created_at":"2013-04-15T15:56:32Z","updated_at":"2015-04-15T20:04:09Z","pushed_at":"2015-04-15T22:22:35Z","git_url":"git://github.com/bloomberg/chef-bcpc.git","ssh_url":"git@github.com:bloomberg/chef-bcpc.git","clone_url":"https://github.com/bloomberg/chef-bcpc.git","svn_url":"https://github.com/bloomberg/chef-bcpc","homepage":null,"size":7981,"stargazers_count":115,"watchers_count":115,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":54,"mirror_url":null,"open_issues_count":115,"forks":54,"open_issues":115,"watchers":115,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bloomberg/chef-bcpc/pulls/533"},"html":{"href":"https://github.com/bloomberg/chef-bcpc/pull/533"},"issue":{"href":"https://api.github.com/repos/bloomberg/chef-bcpc/issues/533"},"comments":{"href":"https://api.github.com/repos/bloomberg/chef-bcpc/issues/533/comments"},"review_comments":{"href":"https://api.github.com/repos/bloomberg/chef-bcpc/pulls/533/comments"},"review_comment":{"href":"https://api.github.com/repos/bloomberg/chef-bcpc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bloomberg/chef-bcpc/pulls/533/commits"},"statuses":{"href":"https://api.github.com/repos/bloomberg/chef-bcpc/statuses/83f7d190fc07e3a2d6ca5ed4589cf9ee818e33f5"}}}}