{"action":"opened","number":233,"pull_request":{"url":"https://api.github.com/repos/johnbellone/consul-cookbook/pulls/233","id":49043006,"html_url":"https://github.com/johnbellone/consul-cookbook/pull/233","diff_url":"https://github.com/johnbellone/consul-cookbook/pull/233.diff","patch_url":"https://github.com/johnbellone/consul-cookbook/pull/233.patch","issue_url":"https://api.github.com/repos/johnbellone/consul-cookbook/issues/233","number":233,"state":"open","locked":false,"title":"flatten the for_keeps variable to make include? work for tls options","user":{"login":"joerocklin","id":124265,"avatar_url":"https://avatars.githubusercontent.com/u/124265?v=3","gravatar_id":"","url":"https://api.github.com/users/joerocklin","html_url":"https://github.com/joerocklin","followers_url":"https://api.github.com/users/joerocklin/followers","following_url":"https://api.github.com/users/joerocklin/following{/other_user}","gists_url":"https://api.github.com/users/joerocklin/gists{/gist_id}","starred_url":"https://api.github.com/users/joerocklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joerocklin/subscriptions","organizations_url":"https://api.github.com/users/joerocklin/orgs","repos_url":"https://api.github.com/users/joerocklin/repos","events_url":"https://api.github.com/users/joerocklin/events{/privacy}","received_events_url":"https://api.github.com/users/joerocklin/received_events","type":"User","site_admin":false},"body":"The `include?` call which checks to include one of the values in `for_keeps` is not catching the TLS options because they get added collectively as another array in the last element of the `for_keeps` value. The simple answer here is to flatten the array.\r\n\r\nfixes #230","created_at":"2015-10-28T17:53:25Z","updated_at":"2015-10-28T17:53:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/johnbellone/consul-cookbook/pulls/233/commits","review_comments_url":"https://api.github.com/repos/johnbellone/consul-cookbook/pulls/233/comments","review_comment_url":"https://api.github.com/repos/johnbellone/consul-cookbook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/johnbellone/consul-cookbook/issues/233/comments","statuses_url":"https://api.github.com/repos/johnbellone/consul-cookbook/statuses/efc31cb103b00d93720a967eca95c6dc1e33f5de","head":{"label":"joerocklin:master","ref":"master","sha":"efc31cb103b00d93720a967eca95c6dc1e33f5de","user":{"login":"joerocklin","id":124265,"avatar_url":"https://avatars.githubusercontent.com/u/124265?v=3","gravatar_id":"","url":"https://api.github.com/users/joerocklin","html_url":"https://github.com/joerocklin","followers_url":"https://api.github.com/users/joerocklin/followers","following_url":"https://api.github.com/users/joerocklin/following{/other_user}","gists_url":"https://api.github.com/users/joerocklin/gists{/gist_id}","starred_url":"https://api.github.com/users/joerocklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joerocklin/subscriptions","organizations_url":"https://api.github.com/users/joerocklin/orgs","repos_url":"https://api.github.com/users/joerocklin/repos","events_url":"https://api.github.com/users/joerocklin/events{/privacy}","received_events_url":"https://api.github.com/users/joerocklin/received_events","type":"User","site_admin":false},"repo":{"id":43141392,"name":"consul-cookbook","full_name":"joerocklin/consul-cookbook","owner":{"login":"joerocklin","id":124265,"avatar_url":"https://avatars.githubusercontent.com/u/124265?v=3","gravatar_id":"","url":"https://api.github.com/users/joerocklin","html_url":"https://github.com/joerocklin","followers_url":"https://api.github.com/users/joerocklin/followers","following_url":"https://api.github.com/users/joerocklin/following{/other_user}","gists_url":"https://api.github.com/users/joerocklin/gists{/gist_id}","starred_url":"https://api.github.com/users/joerocklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joerocklin/subscriptions","organizations_url":"https://api.github.com/users/joerocklin/orgs","repos_url":"https://api.github.com/users/joerocklin/repos","events_url":"https://api.github.com/users/joerocklin/events{/privacy}","received_events_url":"https://api.github.com/users/joerocklin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joerocklin/consul-cookbook","description":"Application cookbook which installs and configures Consul.","fork":true,"url":"https://api.github.com/repos/joerocklin/consul-cookbook","forks_url":"https://api.github.com/repos/joerocklin/consul-cookbook/forks","keys_url":"https://api.github.com/repos/joerocklin/consul-cookbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joerocklin/consul-cookbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joerocklin/consul-cookbook/teams","hooks_url":"https://api.github.com/repos/joerocklin/consul-cookbook/hooks","issue_events_url":"https://api.github.com/repos/joerocklin/consul-cookbook/issues/events{/number}","events_url":"https://api.github.com/repos/joerocklin/consul-cookbook/events","assignees_url":"https://api.github.com/repos/joerocklin/consul-cookbook/assignees{/user}","branches_url":"https://api.github.com/repos/joerocklin/consul-cookbook/branches{/branch}","tags_url":"https://api.github.com/repos/joerocklin/consul-cookbook/tags","blobs_url":"https://api.github.com/repos/joerocklin/consul-cookbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joerocklin/consul-cookbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joerocklin/consul-cookbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/joerocklin/consul-cookbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joerocklin/consul-cookbook/statuses/{sha}","languages_url":"https://api.github.com/repos/joerocklin/consul-cookbook/languages","stargazers_url":"https://api.github.com/repos/joerocklin/consul-cookbook/stargazers","contributors_url":"https://api.github.com/repos/joerocklin/consul-cookbook/contributors","subscribers_url":"https://api.github.com/repos/joerocklin/consul-cookbook/subscribers","subscription_url":"https://api.github.com/repos/joerocklin/consul-cookbook/subscription","commits_url":"https://api.github.com/repos/joerocklin/consul-cookbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/joerocklin/consul-cookbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/joerocklin/consul-cookbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/joerocklin/consul-cookbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/joerocklin/consul-cookbook/contents/{+path}","compare_url":"https://api.github.com/repos/joerocklin/consul-cookbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joerocklin/consul-cookbook/merges","archive_url":"https://api.github.com/repos/joerocklin/consul-cookbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joerocklin/consul-cookbook/downloads","issues_url":"https://api.github.com/repos/joerocklin/consul-cookbook/issues{/number}","pulls_url":"https://api.github.com/repos/joerocklin/consul-cookbook/pulls{/number}","milestones_url":"https://api.github.com/repos/joerocklin/consul-cookbook/milestones{/number}","notifications_url":"https://api.github.com/repos/joerocklin/consul-cookbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joerocklin/consul-cookbook/labels{/name}","releases_url":"https://api.github.com/repos/joerocklin/consul-cookbook/releases{/id}","created_at":"2015-09-25T12:56:36Z","updated_at":"2015-09-25T12:56:37Z","pushed_at":"2015-10-28T17:49:30Z","git_url":"git://github.com/joerocklin/consul-cookbook.git","ssh_url":"git@github.com:joerocklin/consul-cookbook.git","clone_url":"https://github.com/joerocklin/consul-cookbook.git","svn_url":"https://github.com/joerocklin/consul-cookbook","homepage":"http://consul.io","size":496,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"johnbellone:master","ref":"master","sha":"d7d2161ab356ee871941fac18e7e6f6960b9a54d","user":{"login":"johnbellone","id":241756,"avatar_url":"https://avatars.githubusercontent.com/u/241756?v=3","gravatar_id":"","url":"https://api.github.com/users/johnbellone","html_url":"https://github.com/johnbellone","followers_url":"https://api.github.com/users/johnbellone/followers","following_url":"https://api.github.com/users/johnbellone/following{/other_user}","gists_url":"https://api.github.com/users/johnbellone/gists{/gist_id}","starred_url":"https://api.github.com/users/johnbellone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnbellone/subscriptions","organizations_url":"https://api.github.com/users/johnbellone/orgs","repos_url":"https://api.github.com/users/johnbellone/repos","events_url":"https://api.github.com/users/johnbellone/events{/privacy}","received_events_url":"https://api.github.com/users/johnbellone/received_events","type":"User","site_admin":false},"repo":{"id":18902498,"name":"consul-cookbook","full_name":"johnbellone/consul-cookbook","owner":{"login":"johnbellone","id":241756,"avatar_url":"https://avatars.githubusercontent.com/u/241756?v=3","gravatar_id":"","url":"https://api.github.com/users/johnbellone","html_url":"https://github.com/johnbellone","followers_url":"https://api.github.com/users/johnbellone/followers","following_url":"https://api.github.com/users/johnbellone/following{/other_user}","gists_url":"https://api.github.com/users/johnbellone/gists{/gist_id}","starred_url":"https://api.github.com/users/johnbellone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnbellone/subscriptions","organizations_url":"https://api.github.com/users/johnbellone/orgs","repos_url":"https://api.github.com/users/johnbellone/repos","events_url":"https://api.github.com/users/johnbellone/events{/privacy}","received_events_url":"https://api.github.com/users/johnbellone/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/johnbellone/consul-cookbook","description":"Application cookbook which installs and configures Consul.","fork":false,"url":"https://api.github.com/repos/johnbellone/consul-cookbook","forks_url":"https://api.github.com/repos/johnbellone/consul-cookbook/forks","keys_url":"https://api.github.com/repos/johnbellone/consul-cookbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johnbellone/consul-cookbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johnbellone/consul-cookbook/teams","hooks_url":"https://api.github.com/repos/johnbellone/consul-cookbook/hooks","issue_events_url":"https://api.github.com/repos/johnbellone/consul-cookbook/issues/events{/number}","events_url":"https://api.github.com/repos/johnbellone/consul-cookbook/events","assignees_url":"https://api.github.com/repos/johnbellone/consul-cookbook/assignees{/user}","branches_url":"https://api.github.com/repos/johnbellone/consul-cookbook/branches{/branch}","tags_url":"https://api.github.com/repos/johnbellone/consul-cookbook/tags","blobs_url":"https://api.github.com/repos/johnbellone/consul-cookbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johnbellone/consul-cookbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johnbellone/consul-cookbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/johnbellone/consul-cookbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johnbellone/consul-cookbook/statuses/{sha}","languages_url":"https://api.github.com/repos/johnbellone/consul-cookbook/languages","stargazers_url":"https://api.github.com/repos/johnbellone/consul-cookbook/stargazers","contributors_url":"https://api.github.com/repos/johnbellone/consul-cookbook/contributors","subscribers_url":"https://api.github.com/repos/johnbellone/consul-cookbook/subscribers","subscription_url":"https://api.github.com/repos/johnbellone/consul-cookbook/subscription","commits_url":"https://api.github.com/repos/johnbellone/consul-cookbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/johnbellone/consul-cookbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/johnbellone/consul-cookbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/johnbellone/consul-cookbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/johnbellone/consul-cookbook/contents/{+path}","compare_url":"https://api.github.com/repos/johnbellone/consul-cookbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johnbellone/consul-cookbook/merges","archive_url":"https://api.github.com/repos/johnbellone/consul-cookbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johnbellone/consul-cookbook/downloads","issues_url":"https://api.github.com/repos/johnbellone/consul-cookbook/issues{/number}","pulls_url":"https://api.github.com/repos/johnbellone/consul-cookbook/pulls{/number}","milestones_url":"https://api.github.com/repos/johnbellone/consul-cookbook/milestones{/number}","notifications_url":"https://api.github.com/repos/johnbellone/consul-cookbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johnbellone/consul-cookbook/labels{/name}","releases_url":"https://api.github.com/repos/johnbellone/consul-cookbook/releases{/id}","created_at":"2014-04-18T04:26:51Z","updated_at":"2015-10-26T11:41:30Z","pushed_at":"2015-10-27T13:28:54Z","git_url":"git://github.com/johnbellone/consul-cookbook.git","ssh_url":"git@github.com:johnbellone/consul-cookbook.git","clone_url":"https://github.com/johnbellone/consul-cookbook.git","svn_url":"https://github.com/johnbellone/consul-cookbook","homepage":"http://consul.io","size":1865,"stargazers_count":84,"watchers_count":84,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":127,"mirror_url":null,"open_issues_count":7,"forks":127,"open_issues":7,"watchers":84,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/johnbellone/consul-cookbook/pulls/233"},"html":{"href":"https://github.com/johnbellone/consul-cookbook/pull/233"},"issue":{"href":"https://api.github.com/repos/johnbellone/consul-cookbook/issues/233"},"comments":{"href":"https://api.github.com/repos/johnbellone/consul-cookbook/issues/233/comments"},"review_comments":{"href":"https://api.github.com/repos/johnbellone/consul-cookbook/pulls/233/comments"},"review_comment":{"href":"https://api.github.com/repos/johnbellone/consul-cookbook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/johnbellone/consul-cookbook/pulls/233/commits"},"statuses":{"href":"https://api.github.com/repos/johnbellone/consul-cookbook/statuses/efc31cb103b00d93720a967eca95c6dc1e33f5de"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":1}}