{"action":"created","comment":{"url":"https://api.github.com/repos/cfengine/core/pulls/comments/53090630","id":53090630,"diff_hunk":"@@ -30,25 +30,44 @@\n # system by fetching policies in case the standard agent run fails.\n ##############################################################################\n \n-\n-body common control\n-{\n-      bundlesequence => {\n-                          \"cfe_internal_checkkeys\",\n-                          \"cfe_internal_update\",\n-                          \"cfe_internal_call_update\"\n-                        };\n-}\n-\n body agent control\n {\n+      # We can't expect dns to be properly configured everywhere so we\n+      # skip the dns check for bootstrap\n       skipidentify => \"true\";\n \n       # Bootstrapping can't continue without keys\n       abortclasses => { \"no_ppkeys_ABORT\" };\n }\n \n-################################################################################\n+###################################################################################################################################\n+\n+bundle agent main\n+{\n+  meta:\n+      \"description\"\n+        stirng => \"Perform bootstrap or failsafe recovery operations\";","path":"libpromises/failsafe.cf","position":31,"original_position":31,"commit_id":"eb1b0cb22cd7501510d5e53d76e1521ee47acdae","original_commit_id":"eb1b0cb22cd7501510d5e53d76e1521ee47acdae","user":{"login":"nickanderson","id":202896,"avatar_url":"https://avatars.githubusercontent.com/u/202896?v=3","gravatar_id":"","url":"https://api.github.com/users/nickanderson","html_url":"https://github.com/nickanderson","followers_url":"https://api.github.com/users/nickanderson/followers","following_url":"https://api.github.com/users/nickanderson/following{/other_user}","gists_url":"https://api.github.com/users/nickanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/nickanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickanderson/subscriptions","organizations_url":"https://api.github.com/users/nickanderson/orgs","repos_url":"https://api.github.com/users/nickanderson/repos","events_url":"https://api.github.com/users/nickanderson/events{/privacy}","received_events_url":"https://api.github.com/users/nickanderson/received_events","type":"User","site_admin":false},"body":"ack\r\n","created_at":"2016-02-16T22:30:05Z","updated_at":"2016-02-16T22:30:05Z","html_url":"https://github.com/cfengine/core/pull/2491#discussion_r53090630","pull_request_url":"https://api.github.com/repos/cfengine/core/pulls/2491","_links":{"self":{"href":"https://api.github.com/repos/cfengine/core/pulls/comments/53090630"},"html":{"href":"https://github.com/cfengine/core/pull/2491#discussion_r53090630"},"pull_request":{"href":"https://api.github.com/repos/cfengine/core/pulls/2491"}}},"pull_request":{"url":"https://api.github.com/repos/cfengine/core/pulls/2491","id":58921193,"html_url":"https://github.com/cfengine/core/pull/2491","diff_url":"https://github.com/cfengine/core/pull/2491.diff","patch_url":"https://github.com/cfengine/core/pull/2491.patch","issue_url":"https://api.github.com/repos/cfengine/core/issues/2491","number":2491,"state":"open","locked":false,"title":"Change: Refactor failsafe for better readability","user":{"login":"nickanderson","id":202896,"avatar_url":"https://avatars.githubusercontent.com/u/202896?v=3","gravatar_id":"","url":"https://api.github.com/users/nickanderson","html_url":"https://github.com/nickanderson","followers_url":"https://api.github.com/users/nickanderson/followers","following_url":"https://api.github.com/users/nickanderson/following{/other_user}","gists_url":"https://api.github.com/users/nickanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/nickanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickanderson/subscriptions","organizations_url":"https://api.github.com/users/nickanderson/orgs","repos_url":"https://api.github.com/users/nickanderson/repos","events_url":"https://api.github.com/users/nickanderson/events{/privacy}","received_events_url":"https://api.github.com/users/nickanderson/received_events","type":"User","site_admin":false},"body":"Changelog: Title\n\nping @jimis","created_at":"2016-02-10T17:06:52Z","updated_at":"2016-02-16T22:30:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d85baae0cf937cbdad1c03228ca8a6f7790bf3c9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cfengine/core/pulls/2491/commits","review_comments_url":"https://api.github.com/repos/cfengine/core/pulls/2491/comments","review_comment_url":"https://api.github.com/repos/cfengine/core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cfengine/core/issues/2491/comments","statuses_url":"https://api.github.com/repos/cfengine/core/statuses/eb1b0cb22cd7501510d5e53d76e1521ee47acdae","head":{"label":"nickanderson:failsafe_refactor","ref":"failsafe_refactor","sha":"eb1b0cb22cd7501510d5e53d76e1521ee47acdae","user":{"login":"nickanderson","id":202896,"avatar_url":"https://avatars.githubusercontent.com/u/202896?v=3","gravatar_id":"","url":"https://api.github.com/users/nickanderson","html_url":"https://github.com/nickanderson","followers_url":"https://api.github.com/users/nickanderson/followers","following_url":"https://api.github.com/users/nickanderson/following{/other_user}","gists_url":"https://api.github.com/users/nickanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/nickanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickanderson/subscriptions","organizations_url":"https://api.github.com/users/nickanderson/orgs","repos_url":"https://api.github.com/users/nickanderson/repos","events_url":"https://api.github.com/users/nickanderson/events{/privacy}","received_events_url":"https://api.github.com/users/nickanderson/received_events","type":"User","site_admin":false},"repo":{"id":5087189,"name":"core","full_name":"nickanderson/core","owner":{"login":"nickanderson","id":202896,"avatar_url":"https://avatars.githubusercontent.com/u/202896?v=3","gravatar_id":"","url":"https://api.github.com/users/nickanderson","html_url":"https://github.com/nickanderson","followers_url":"https://api.github.com/users/nickanderson/followers","following_url":"https://api.github.com/users/nickanderson/following{/other_user}","gists_url":"https://api.github.com/users/nickanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/nickanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickanderson/subscriptions","organizations_url":"https://api.github.com/users/nickanderson/orgs","repos_url":"https://api.github.com/users/nickanderson/repos","events_url":"https://api.github.com/users/nickanderson/events{/privacy}","received_events_url":"https://api.github.com/users/nickanderson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nickanderson/core","description":"CFEngine Community","fork":true,"url":"https://api.github.com/repos/nickanderson/core","forks_url":"https://api.github.com/repos/nickanderson/core/forks","keys_url":"https://api.github.com/repos/nickanderson/core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nickanderson/core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nickanderson/core/teams","hooks_url":"https://api.github.com/repos/nickanderson/core/hooks","issue_events_url":"https://api.github.com/repos/nickanderson/core/issues/events{/number}","events_url":"https://api.github.com/repos/nickanderson/core/events","assignees_url":"https://api.github.com/repos/nickanderson/core/assignees{/user}","branches_url":"https://api.github.com/repos/nickanderson/core/branches{/branch}","tags_url":"https://api.github.com/repos/nickanderson/core/tags","blobs_url":"https://api.github.com/repos/nickanderson/core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nickanderson/core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nickanderson/core/git/refs{/sha}","trees_url":"https://api.github.com/repos/nickanderson/core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nickanderson/core/statuses/{sha}","languages_url":"https://api.github.com/repos/nickanderson/core/languages","stargazers_url":"https://api.github.com/repos/nickanderson/core/stargazers","contributors_url":"https://api.github.com/repos/nickanderson/core/contributors","subscribers_url":"https://api.github.com/repos/nickanderson/core/subscribers","subscription_url":"https://api.github.com/repos/nickanderson/core/subscription","commits_url":"https://api.github.com/repos/nickanderson/core/commits{/sha}","git_commits_url":"https://api.github.com/repos/nickanderson/core/git/commits{/sha}","comments_url":"https://api.github.com/repos/nickanderson/core/comments{/number}","issue_comment_url":"https://api.github.com/repos/nickanderson/core/issues/comments{/number}","contents_url":"https://api.github.com/repos/nickanderson/core/contents/{+path}","compare_url":"https://api.github.com/repos/nickanderson/core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nickanderson/core/merges","archive_url":"https://api.github.com/repos/nickanderson/core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nickanderson/core/downloads","issues_url":"https://api.github.com/repos/nickanderson/core/issues{/number}","pulls_url":"https://api.github.com/repos/nickanderson/core/pulls{/number}","milestones_url":"https://api.github.com/repos/nickanderson/core/milestones{/number}","notifications_url":"https://api.github.com/repos/nickanderson/core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nickanderson/core/labels{/name}","releases_url":"https://api.github.com/repos/nickanderson/core/releases{/id}","deployments_url":"https://api.github.com/repos/nickanderson/core/deployments","created_at":"2012-07-17T19:52:12Z","updated_at":"2015-07-02T20:34:12Z","pushed_at":"2016-02-16T22:22:16Z","git_url":"git://github.com/nickanderson/core.git","ssh_url":"git@github.com:nickanderson/core.git","clone_url":"https://github.com/nickanderson/core.git","svn_url":"https://github.com/nickanderson/core","homepage":"https://cfengine.com/community/","size":54120,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"cfengine:master","ref":"master","sha":"e0cabedca087b44dcf149a4881a1995f5737c953","user":{"login":"cfengine","id":1239823,"avatar_url":"https://avatars.githubusercontent.com/u/1239823?v=3","gravatar_id":"","url":"https://api.github.com/users/cfengine","html_url":"https://github.com/cfengine","followers_url":"https://api.github.com/users/cfengine/followers","following_url":"https://api.github.com/users/cfengine/following{/other_user}","gists_url":"https://api.github.com/users/cfengine/gists{/gist_id}","starred_url":"https://api.github.com/users/cfengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfengine/subscriptions","organizations_url":"https://api.github.com/users/cfengine/orgs","repos_url":"https://api.github.com/users/cfengine/repos","events_url":"https://api.github.com/users/cfengine/events{/privacy}","received_events_url":"https://api.github.com/users/cfengine/received_events","type":"Organization","site_admin":false},"repo":{"id":3543548,"name":"core","full_name":"cfengine/core","owner":{"login":"cfengine","id":1239823,"avatar_url":"https://avatars.githubusercontent.com/u/1239823?v=3","gravatar_id":"","url":"https://api.github.com/users/cfengine","html_url":"https://github.com/cfengine","followers_url":"https://api.github.com/users/cfengine/followers","following_url":"https://api.github.com/users/cfengine/following{/other_user}","gists_url":"https://api.github.com/users/cfengine/gists{/gist_id}","starred_url":"https://api.github.com/users/cfengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfengine/subscriptions","organizations_url":"https://api.github.com/users/cfengine/orgs","repos_url":"https://api.github.com/users/cfengine/repos","events_url":"https://api.github.com/users/cfengine/events{/privacy}","received_events_url":"https://api.github.com/users/cfengine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cfengine/core","description":"CFEngine Community","fork":false,"url":"https://api.github.com/repos/cfengine/core","forks_url":"https://api.github.com/repos/cfengine/core/forks","keys_url":"https://api.github.com/repos/cfengine/core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cfengine/core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cfengine/core/teams","hooks_url":"https://api.github.com/repos/cfengine/core/hooks","issue_events_url":"https://api.github.com/repos/cfengine/core/issues/events{/number}","events_url":"https://api.github.com/repos/cfengine/core/events","assignees_url":"https://api.github.com/repos/cfengine/core/assignees{/user}","branches_url":"https://api.github.com/repos/cfengine/core/branches{/branch}","tags_url":"https://api.github.com/repos/cfengine/core/tags","blobs_url":"https://api.github.com/repos/cfengine/core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cfengine/core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cfengine/core/git/refs{/sha}","trees_url":"https://api.github.com/repos/cfengine/core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cfengine/core/statuses/{sha}","languages_url":"https://api.github.com/repos/cfengine/core/languages","stargazers_url":"https://api.github.com/repos/cfengine/core/stargazers","contributors_url":"https://api.github.com/repos/cfengine/core/contributors","subscribers_url":"https://api.github.com/repos/cfengine/core/subscribers","subscription_url":"https://api.github.com/repos/cfengine/core/subscription","commits_url":"https://api.github.com/repos/cfengine/core/commits{/sha}","git_commits_url":"https://api.github.com/repos/cfengine/core/git/commits{/sha}","comments_url":"https://api.github.com/repos/cfengine/core/comments{/number}","issue_comment_url":"https://api.github.com/repos/cfengine/core/issues/comments{/number}","contents_url":"https://api.github.com/repos/cfengine/core/contents/{+path}","compare_url":"https://api.github.com/repos/cfengine/core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cfengine/core/merges","archive_url":"https://api.github.com/repos/cfengine/core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cfengine/core/downloads","issues_url":"https://api.github.com/repos/cfengine/core/issues{/number}","pulls_url":"https://api.github.com/repos/cfengine/core/pulls{/number}","milestones_url":"https://api.github.com/repos/cfengine/core/milestones{/number}","notifications_url":"https://api.github.com/repos/cfengine/core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cfengine/core/labels{/name}","releases_url":"https://api.github.com/repos/cfengine/core/releases{/id}","deployments_url":"https://api.github.com/repos/cfengine/core/deployments","created_at":"2012-02-25T09:19:05Z","updated_at":"2016-02-11T19:19:26Z","pushed_at":"2016-02-16T22:22:16Z","git_url":"git://github.com/cfengine/core.git","ssh_url":"git@github.com:cfengine/core.git","clone_url":"https://github.com/cfengine/core.git","svn_url":"https://github.com/cfengine/core","homepage":"https://cfengine.com/community/","size":59368,"stargazers_count":232,"watchers_count":232,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":142,"mirror_url":null,"open_issues_count":25,"forks":142,"open_issues":25,"watchers":232,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cfengine/core/pulls/2491"},"html":{"href":"https://github.com/cfengine/core/pull/2491"},"issue":{"href":"https://api.github.com/repos/cfengine/core/issues/2491"},"comments":{"href":"https://api.github.com/repos/cfengine/core/issues/2491/comments"},"review_comments":{"href":"https://api.github.com/repos/cfengine/core/pulls/2491/comments"},"review_comment":{"href":"https://api.github.com/repos/cfengine/core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cfengine/core/pulls/2491/commits"},"statuses":{"href":"https://api.github.com/repos/cfengine/core/statuses/eb1b0cb22cd7501510d5e53d76e1521ee47acdae"}}}}