{"action":"created","comment":{"url":"https://api.github.com/repos/bloomberg/chef-bach/pulls/comments/45066588","id":45066588,"diff_hunk":"@@ -84,6 +84,14 @@\n   end\n end\n \n+if node[:bcpc][:hadoop][:hdfs][:ldap][:integration] == true\n+  file \"/etc/hadoop/conf/ldap-conn-pass.txt\" do\n+    content node[:bcpc][:hadoop][:hdfs][:ldap][:password]","path":"cookbooks/bcpc-hadoop/recipes/namenode_standby.rb","position":6,"original_position":6,"commit_id":"13353f5875157d4a7576d2576efe0de979ec7c13","original_commit_id":"13353f5875157d4a7576d2576efe0de979ec7c13","user":{"login":"cbaenziger","id":4192761,"avatar_url":"https://avatars.githubusercontent.com/u/4192761?v=3","gravatar_id":"","url":"https://api.github.com/users/cbaenziger","html_url":"https://github.com/cbaenziger","followers_url":"https://api.github.com/users/cbaenziger/followers","following_url":"https://api.github.com/users/cbaenziger/following{/other_user}","gists_url":"https://api.github.com/users/cbaenziger/gists{/gist_id}","starred_url":"https://api.github.com/users/cbaenziger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbaenziger/subscriptions","organizations_url":"https://api.github.com/users/cbaenziger/orgs","repos_url":"https://api.github.com/users/cbaenziger/repos","events_url":"https://api.github.com/users/cbaenziger/events{/privacy}","received_events_url":"https://api.github.com/users/cbaenziger/received_events","type":"User","site_admin":false},"body":"Should this be Chef-Vaulted?","created_at":"2015-11-17T14:40:31Z","updated_at":"2015-11-17T14:40:31Z","html_url":"https://github.com/bloomberg/chef-bach/pull/318#discussion_r45066588","pull_request_url":"https://api.github.com/repos/bloomberg/chef-bach/pulls/318","_links":{"self":{"href":"https://api.github.com/repos/bloomberg/chef-bach/pulls/comments/45066588"},"html":{"href":"https://github.com/bloomberg/chef-bach/pull/318#discussion_r45066588"},"pull_request":{"href":"https://api.github.com/repos/bloomberg/chef-bach/pulls/318"}}},"pull_request":{"url":"https://api.github.com/repos/bloomberg/chef-bach/pulls/318","id":49200953,"html_url":"https://github.com/bloomberg/chef-bach/pull/318","diff_url":"https://github.com/bloomberg/chef-bach/pull/318.diff","patch_url":"https://github.com/bloomberg/chef-bach/pull/318.patch","issue_url":"https://api.github.com/repos/bloomberg/chef-bach/issues/318","number":318,"state":"open","locked":false,"title":"Enable HDFS LDAP integration","user":{"login":"amithkanand","id":6287145,"avatar_url":"https://avatars.githubusercontent.com/u/6287145?v=3","gravatar_id":"","url":"https://api.github.com/users/amithkanand","html_url":"https://github.com/amithkanand","followers_url":"https://api.github.com/users/amithkanand/followers","following_url":"https://api.github.com/users/amithkanand/following{/other_user}","gists_url":"https://api.github.com/users/amithkanand/gists{/gist_id}","starred_url":"https://api.github.com/users/amithkanand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amithkanand/subscriptions","organizations_url":"https://api.github.com/users/amithkanand/orgs","repos_url":"https://api.github.com/users/amithkanand/repos","events_url":"https://api.github.com/users/amithkanand/events{/privacy}","received_events_url":"https://api.github.com/users/amithkanand/received_events","type":"User","site_admin":false},"body":"This PR enables `HDFS` integration with `LDAP`. Once enabled, groups for individual users can be fetched from `LDAP` and fine grained access control can be implemented. ","created_at":"2015-10-29T21:14:48Z","updated_at":"2015-11-17T14:40:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"700333a8dd963379c8919b8b4ba58ab8e6fd6349","assignee":{"login":"amithkanand","id":6287145,"avatar_url":"https://avatars.githubusercontent.com/u/6287145?v=3","gravatar_id":"","url":"https://api.github.com/users/amithkanand","html_url":"https://github.com/amithkanand","followers_url":"https://api.github.com/users/amithkanand/followers","following_url":"https://api.github.com/users/amithkanand/following{/other_user}","gists_url":"https://api.github.com/users/amithkanand/gists{/gist_id}","starred_url":"https://api.github.com/users/amithkanand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amithkanand/subscriptions","organizations_url":"https://api.github.com/users/amithkanand/orgs","repos_url":"https://api.github.com/users/amithkanand/repos","events_url":"https://api.github.com/users/amithkanand/events{/privacy}","received_events_url":"https://api.github.com/users/amithkanand/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/bloomberg/chef-bach/pulls/318/commits","review_comments_url":"https://api.github.com/repos/bloomberg/chef-bach/pulls/318/comments","review_comment_url":"https://api.github.com/repos/bloomberg/chef-bach/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bloomberg/chef-bach/issues/318/comments","statuses_url":"https://api.github.com/repos/bloomberg/chef-bach/statuses/13353f5875157d4a7576d2576efe0de979ec7c13","head":{"label":"amithkanand:hdfs_ldap","ref":"hdfs_ldap","sha":"13353f5875157d4a7576d2576efe0de979ec7c13","user":{"login":"amithkanand","id":6287145,"avatar_url":"https://avatars.githubusercontent.com/u/6287145?v=3","gravatar_id":"","url":"https://api.github.com/users/amithkanand","html_url":"https://github.com/amithkanand","followers_url":"https://api.github.com/users/amithkanand/followers","following_url":"https://api.github.com/users/amithkanand/following{/other_user}","gists_url":"https://api.github.com/users/amithkanand/gists{/gist_id}","starred_url":"https://api.github.com/users/amithkanand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amithkanand/subscriptions","organizations_url":"https://api.github.com/users/amithkanand/orgs","repos_url":"https://api.github.com/users/amithkanand/repos","events_url":"https://api.github.com/users/amithkanand/events{/privacy}","received_events_url":"https://api.github.com/users/amithkanand/received_events","type":"User","site_admin":false},"repo":{"id":25159412,"name":"chef-bach","full_name":"amithkanand/chef-bach","owner":{"login":"amithkanand","id":6287145,"avatar_url":"https://avatars.githubusercontent.com/u/6287145?v=3","gravatar_id":"","url":"https://api.github.com/users/amithkanand","html_url":"https://github.com/amithkanand","followers_url":"https://api.github.com/users/amithkanand/followers","following_url":"https://api.github.com/users/amithkanand/following{/other_user}","gists_url":"https://api.github.com/users/amithkanand/gists{/gist_id}","starred_url":"https://api.github.com/users/amithkanand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amithkanand/subscriptions","organizations_url":"https://api.github.com/users/amithkanand/orgs","repos_url":"https://api.github.com/users/amithkanand/repos","events_url":"https://api.github.com/users/amithkanand/events{/privacy}","received_events_url":"https://api.github.com/users/amithkanand/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amithkanand/chef-bach","description":"Chef recipes for Bloomberg's deployment of Hadoop and related components","fork":true,"url":"https://api.github.com/repos/amithkanand/chef-bach","forks_url":"https://api.github.com/repos/amithkanand/chef-bach/forks","keys_url":"https://api.github.com/repos/amithkanand/chef-bach/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amithkanand/chef-bach/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amithkanand/chef-bach/teams","hooks_url":"https://api.github.com/repos/amithkanand/chef-bach/hooks","issue_events_url":"https://api.github.com/repos/amithkanand/chef-bach/issues/events{/number}","events_url":"https://api.github.com/repos/amithkanand/chef-bach/events","assignees_url":"https://api.github.com/repos/amithkanand/chef-bach/assignees{/user}","branches_url":"https://api.github.com/repos/amithkanand/chef-bach/branches{/branch}","tags_url":"https://api.github.com/repos/amithkanand/chef-bach/tags","blobs_url":"https://api.github.com/repos/amithkanand/chef-bach/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amithkanand/chef-bach/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amithkanand/chef-bach/git/refs{/sha}","trees_url":"https://api.github.com/repos/amithkanand/chef-bach/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amithkanand/chef-bach/statuses/{sha}","languages_url":"https://api.github.com/repos/amithkanand/chef-bach/languages","stargazers_url":"https://api.github.com/repos/amithkanand/chef-bach/stargazers","contributors_url":"https://api.github.com/repos/amithkanand/chef-bach/contributors","subscribers_url":"https://api.github.com/repos/amithkanand/chef-bach/subscribers","subscription_url":"https://api.github.com/repos/amithkanand/chef-bach/subscription","commits_url":"https://api.github.com/repos/amithkanand/chef-bach/commits{/sha}","git_commits_url":"https://api.github.com/repos/amithkanand/chef-bach/git/commits{/sha}","comments_url":"https://api.github.com/repos/amithkanand/chef-bach/comments{/number}","issue_comment_url":"https://api.github.com/repos/amithkanand/chef-bach/issues/comments{/number}","contents_url":"https://api.github.com/repos/amithkanand/chef-bach/contents/{+path}","compare_url":"https://api.github.com/repos/amithkanand/chef-bach/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amithkanand/chef-bach/merges","archive_url":"https://api.github.com/repos/amithkanand/chef-bach/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amithkanand/chef-bach/downloads","issues_url":"https://api.github.com/repos/amithkanand/chef-bach/issues{/number}","pulls_url":"https://api.github.com/repos/amithkanand/chef-bach/pulls{/number}","milestones_url":"https://api.github.com/repos/amithkanand/chef-bach/milestones{/number}","notifications_url":"https://api.github.com/repos/amithkanand/chef-bach/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amithkanand/chef-bach/labels{/name}","releases_url":"https://api.github.com/repos/amithkanand/chef-bach/releases{/id}","created_at":"2014-10-13T13:19:53Z","updated_at":"2015-05-05T14:29:55Z","pushed_at":"2015-11-17T14:39:52Z","git_url":"git://github.com/amithkanand/chef-bach.git","ssh_url":"git@github.com:amithkanand/chef-bach.git","clone_url":"https://github.com/amithkanand/chef-bach.git","svn_url":"https://github.com/amithkanand/chef-bach","homepage":null,"size":2280,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"bloomberg:master","ref":"master","sha":"ad8e3d01b5c481d4bf6638507be0103d018f953e","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":24933148,"name":"chef-bach","full_name":"bloomberg/chef-bach","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-bach","description":"Chef recipes for Bloomberg's deployment of Hadoop and related components","fork":false,"url":"https://api.github.com/repos/bloomberg/chef-bach","forks_url":"https://api.github.com/repos/bloomberg/chef-bach/forks","keys_url":"https://api.github.com/repos/bloomberg/chef-bach/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bloomberg/chef-bach/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bloomberg/chef-bach/teams","hooks_url":"https://api.github.com/repos/bloomberg/chef-bach/hooks","issue_events_url":"https://api.github.com/repos/bloomberg/chef-bach/issues/events{/number}","events_url":"https://api.github.com/repos/bloomberg/chef-bach/events","assignees_url":"https://api.github.com/repos/bloomberg/chef-bach/assignees{/user}","branches_url":"https://api.github.com/repos/bloomberg/chef-bach/branches{/branch}","tags_url":"https://api.github.com/repos/bloomberg/chef-bach/tags","blobs_url":"https://api.github.com/repos/bloomberg/chef-bach/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bloomberg/chef-bach/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bloomberg/chef-bach/git/refs{/sha}","trees_url":"https://api.github.com/repos/bloomberg/chef-bach/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bloomberg/chef-bach/statuses/{sha}","languages_url":"https://api.github.com/repos/bloomberg/chef-bach/languages","stargazers_url":"https://api.github.com/repos/bloomberg/chef-bach/stargazers","contributors_url":"https://api.github.com/repos/bloomberg/chef-bach/contributors","subscribers_url":"https://api.github.com/repos/bloomberg/chef-bach/subscribers","subscription_url":"https://api.github.com/repos/bloomberg/chef-bach/subscription","commits_url":"https://api.github.com/repos/bloomberg/chef-bach/commits{/sha}","git_commits_url":"https://api.github.com/repos/bloomberg/chef-bach/git/commits{/sha}","comments_url":"https://api.github.com/repos/bloomberg/chef-bach/comments{/number}","issue_comment_url":"https://api.github.com/repos/bloomberg/chef-bach/issues/comments{/number}","contents_url":"https://api.github.com/repos/bloomberg/chef-bach/contents/{+path}","compare_url":"https://api.github.com/repos/bloomberg/chef-bach/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bloomberg/chef-bach/merges","archive_url":"https://api.github.com/repos/bloomberg/chef-bach/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bloomberg/chef-bach/downloads","issues_url":"https://api.github.com/repos/bloomberg/chef-bach/issues{/number}","pulls_url":"https://api.github.com/repos/bloomberg/chef-bach/pulls{/number}","milestones_url":"https://api.github.com/repos/bloomberg/chef-bach/milestones{/number}","notifications_url":"https://api.github.com/repos/bloomberg/chef-bach/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bloomberg/chef-bach/labels{/name}","releases_url":"https://api.github.com/repos/bloomberg/chef-bach/releases{/id}","created_at":"2014-10-08T09:16:26Z","updated_at":"2015-10-13T17:00:26Z","pushed_at":"2015-11-17T14:39:53Z","git_url":"git://github.com/bloomberg/chef-bach.git","ssh_url":"git@github.com:bloomberg/chef-bach.git","clone_url":"https://github.com/bloomberg/chef-bach.git","svn_url":"https://github.com/bloomberg/chef-bach","homepage":null,"size":2971,"stargazers_count":20,"watchers_count":20,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":85,"forks":14,"open_issues":85,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bloomberg/chef-bach/pulls/318"},"html":{"href":"https://github.com/bloomberg/chef-bach/pull/318"},"issue":{"href":"https://api.github.com/repos/bloomberg/chef-bach/issues/318"},"comments":{"href":"https://api.github.com/repos/bloomberg/chef-bach/issues/318/comments"},"review_comments":{"href":"https://api.github.com/repos/bloomberg/chef-bach/pulls/318/comments"},"review_comment":{"href":"https://api.github.com/repos/bloomberg/chef-bach/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bloomberg/chef-bach/pulls/318/commits"},"statuses":{"href":"https://api.github.com/repos/bloomberg/chef-bach/statuses/13353f5875157d4a7576d2576efe0de979ec7c13"}}}}