{"action":"created","comment":{"url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/pulls/comments/26271910","id":26271910,"diff_hunk":"@@ -0,0 +1,27 @@\n+actions :install\n+default_action :install\n+\n+# Creates the user if they do not already exist\n+attribute :create_user, 'kind_of' => [TrueClass, FalseClass], :default => false\n+\n+# Create the owner, path, or group if they do not exist\n+attribute :path, 'kind_of' => String, :default => '/opt/app/'","path":"resources/common.rb","position":8,"original_position":8,"commit_id":"276fffe21a8e9b3442af36aa6d2b5825bdd84efe","original_commit_id":"276fffe21a8e9b3442af36aa6d2b5825bdd84efe","user":{"login":"ramereth","id":48997,"avatar_url":"https://avatars.githubusercontent.com/u/48997?v=3","gravatar_id":"","url":"https://api.github.com/users/ramereth","html_url":"https://github.com/ramereth","followers_url":"https://api.github.com/users/ramereth/followers","following_url":"https://api.github.com/users/ramereth/following{/other_user}","gists_url":"https://api.github.com/users/ramereth/gists{/gist_id}","starred_url":"https://api.github.com/users/ramereth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramereth/subscriptions","organizations_url":"https://api.github.com/users/ramereth/orgs","repos_url":"https://api.github.com/users/ramereth/repos","events_url":"https://api.github.com/users/ramereth/events{/privacy}","received_events_url":"https://api.github.com/users/ramereth/received_events","type":"User","site_admin":false},"body":"Do we really want to define a default path location for applications? Seems like this should be nil by default and be required to be set. Same with the ``config_destination``. But maybe I'm wrong.","created_at":"2015-03-12T01:22:26Z","updated_at":"2015-03-12T01:22:26Z","html_url":"https://github.com/osuosl-cookbooks/python-webapp/pull/14#discussion_r26271910","pull_request_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/pulls/comments/26271910"},"html":{"href":"https://github.com/osuosl-cookbooks/python-webapp/pull/14#discussion_r26271910"},"pull_request":{"href":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/pulls/14","id":30909736,"html_url":"https://github.com/osuosl-cookbooks/python-webapp/pull/14","diff_url":"https://github.com/osuosl-cookbooks/python-webapp/pull/14.diff","patch_url":"https://github.com/osuosl-cookbooks/python-webapp/pull/14.patch","issue_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/issues/14","number":14,"state":"open","locked":false,"title":"Common recipe","user":{"login":"iankronquist","id":5192353,"avatar_url":"https://avatars.githubusercontent.com/u/5192353?v=3","gravatar_id":"","url":"https://api.github.com/users/iankronquist","html_url":"https://github.com/iankronquist","followers_url":"https://api.github.com/users/iankronquist/followers","following_url":"https://api.github.com/users/iankronquist/following{/other_user}","gists_url":"https://api.github.com/users/iankronquist/gists{/gist_id}","starred_url":"https://api.github.com/users/iankronquist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iankronquist/subscriptions","organizations_url":"https://api.github.com/users/iankronquist/orgs","repos_url":"https://api.github.com/users/iankronquist/repos","events_url":"https://api.github.com/users/iankronquist/events{/privacy}","received_events_url":"https://api.github.com/users/iankronquist/received_events","type":"User","site_admin":false},"body":"This branch was rebased off of @tschuy's PR #5 to pick up his changes. Various cherry pickings and force pushes may be necessary once that branch gets merged, but we'll cross that bridge when we come to it.\r\n\r\nRight now tests fail and the cookbook doesn't converge, but I'm *so* close.\r\nThe test cookbook doesn't converge because it clones what's fresh, and what's fresh needs python27, epel repos, pgsql and other things to work. This is only an issue when installing dependencies. I would appreciate it if we could figure out how to install dependencies in a more friendly way, or maybe we could clone a different cookbook. Thoughts? I would really like people's input here.\r\nThe tests don't pass because serverspec isn't configured correctly. I'll fix that tomorrow.\r\nI think I may rename the resource to default.rb, not common.rb.\r\n\r\n@tschuy @jordane @bramwelt I would appreciate your  input and review, as well as anyone else who may chime in.","created_at":"2015-03-11T01:52:52Z","updated_at":"2015-03-12T01:22:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eb2de8ad5641bbf438939e22a86e6203c426411d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/pulls/14/commits","review_comments_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/pulls/14/comments","review_comment_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/issues/14/comments","statuses_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/statuses/276fffe21a8e9b3442af36aa6d2b5825bdd84efe","head":{"label":"osuosl-cookbooks:common_recipe","ref":"common_recipe","sha":"276fffe21a8e9b3442af36aa6d2b5825bdd84efe","user":{"login":"osuosl-cookbooks","id":5317541,"avatar_url":"https://avatars.githubusercontent.com/u/5317541?v=3","gravatar_id":"","url":"https://api.github.com/users/osuosl-cookbooks","html_url":"https://github.com/osuosl-cookbooks","followers_url":"https://api.github.com/users/osuosl-cookbooks/followers","following_url":"https://api.github.com/users/osuosl-cookbooks/following{/other_user}","gists_url":"https://api.github.com/users/osuosl-cookbooks/gists{/gist_id}","starred_url":"https://api.github.com/users/osuosl-cookbooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osuosl-cookbooks/subscriptions","organizations_url":"https://api.github.com/users/osuosl-cookbooks/orgs","repos_url":"https://api.github.com/users/osuosl-cookbooks/repos","events_url":"https://api.github.com/users/osuosl-cookbooks/events{/privacy}","received_events_url":"https://api.github.com/users/osuosl-cookbooks/received_events","type":"Organization","site_admin":false},"repo":{"id":31389343,"name":"python-webapp","full_name":"osuosl-cookbooks/python-webapp","owner":{"login":"osuosl-cookbooks","id":5317541,"avatar_url":"https://avatars.githubusercontent.com/u/5317541?v=3","gravatar_id":"","url":"https://api.github.com/users/osuosl-cookbooks","html_url":"https://github.com/osuosl-cookbooks","followers_url":"https://api.github.com/users/osuosl-cookbooks/followers","following_url":"https://api.github.com/users/osuosl-cookbooks/following{/other_user}","gists_url":"https://api.github.com/users/osuosl-cookbooks/gists{/gist_id}","starred_url":"https://api.github.com/users/osuosl-cookbooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osuosl-cookbooks/subscriptions","organizations_url":"https://api.github.com/users/osuosl-cookbooks/orgs","repos_url":"https://api.github.com/users/osuosl-cookbooks/repos","events_url":"https://api.github.com/users/osuosl-cookbooks/events{/privacy}","received_events_url":"https://api.github.com/users/osuosl-cookbooks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/osuosl-cookbooks/python-webapp","description":"A cookbook for deploying webapps like GWM, ORVSD, or the Seagrant twins","fork":false,"url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp","forks_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/forks","keys_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/teams","hooks_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/hooks","issue_events_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/issues/events{/number}","events_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/events","assignees_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/assignees{/user}","branches_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/branches{/branch}","tags_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/tags","blobs_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/languages","stargazers_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/stargazers","contributors_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/contributors","subscribers_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/subscribers","subscription_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/subscription","commits_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/contents/{+path}","compare_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/merges","archive_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/downloads","issues_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/issues{/number}","pulls_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/labels{/name}","releases_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/releases{/id}","created_at":"2015-02-26T21:19:03Z","updated_at":"2015-03-11T23:34:30Z","pushed_at":"2015-03-11T23:53:22Z","git_url":"git://github.com/osuosl-cookbooks/python-webapp.git","ssh_url":"git@github.com:osuosl-cookbooks/python-webapp.git","clone_url":"https://github.com/osuosl-cookbooks/python-webapp.git","svn_url":"https://github.com/osuosl-cookbooks/python-webapp","homepage":null,"size":689,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"osuosl-cookbooks:master","ref":"master","sha":"d807ffcfa777088802c54154a49757912d723f8e","user":{"login":"osuosl-cookbooks","id":5317541,"avatar_url":"https://avatars.githubusercontent.com/u/5317541?v=3","gravatar_id":"","url":"https://api.github.com/users/osuosl-cookbooks","html_url":"https://github.com/osuosl-cookbooks","followers_url":"https://api.github.com/users/osuosl-cookbooks/followers","following_url":"https://api.github.com/users/osuosl-cookbooks/following{/other_user}","gists_url":"https://api.github.com/users/osuosl-cookbooks/gists{/gist_id}","starred_url":"https://api.github.com/users/osuosl-cookbooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osuosl-cookbooks/subscriptions","organizations_url":"https://api.github.com/users/osuosl-cookbooks/orgs","repos_url":"https://api.github.com/users/osuosl-cookbooks/repos","events_url":"https://api.github.com/users/osuosl-cookbooks/events{/privacy}","received_events_url":"https://api.github.com/users/osuosl-cookbooks/received_events","type":"Organization","site_admin":false},"repo":{"id":31389343,"name":"python-webapp","full_name":"osuosl-cookbooks/python-webapp","owner":{"login":"osuosl-cookbooks","id":5317541,"avatar_url":"https://avatars.githubusercontent.com/u/5317541?v=3","gravatar_id":"","url":"https://api.github.com/users/osuosl-cookbooks","html_url":"https://github.com/osuosl-cookbooks","followers_url":"https://api.github.com/users/osuosl-cookbooks/followers","following_url":"https://api.github.com/users/osuosl-cookbooks/following{/other_user}","gists_url":"https://api.github.com/users/osuosl-cookbooks/gists{/gist_id}","starred_url":"https://api.github.com/users/osuosl-cookbooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osuosl-cookbooks/subscriptions","organizations_url":"https://api.github.com/users/osuosl-cookbooks/orgs","repos_url":"https://api.github.com/users/osuosl-cookbooks/repos","events_url":"https://api.github.com/users/osuosl-cookbooks/events{/privacy}","received_events_url":"https://api.github.com/users/osuosl-cookbooks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/osuosl-cookbooks/python-webapp","description":"A cookbook for deploying webapps like GWM, ORVSD, or the Seagrant twins","fork":false,"url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp","forks_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/forks","keys_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/teams","hooks_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/hooks","issue_events_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/issues/events{/number}","events_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/events","assignees_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/assignees{/user}","branches_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/branches{/branch}","tags_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/tags","blobs_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/languages","stargazers_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/stargazers","contributors_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/contributors","subscribers_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/subscribers","subscription_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/subscription","commits_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/contents/{+path}","compare_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/merges","archive_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/downloads","issues_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/issues{/number}","pulls_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/labels{/name}","releases_url":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/releases{/id}","created_at":"2015-02-26T21:19:03Z","updated_at":"2015-03-11T23:34:30Z","pushed_at":"2015-03-11T23:53:22Z","git_url":"git://github.com/osuosl-cookbooks/python-webapp.git","ssh_url":"git@github.com:osuosl-cookbooks/python-webapp.git","clone_url":"https://github.com/osuosl-cookbooks/python-webapp.git","svn_url":"https://github.com/osuosl-cookbooks/python-webapp","homepage":null,"size":689,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/pulls/14"},"html":{"href":"https://github.com/osuosl-cookbooks/python-webapp/pull/14"},"issue":{"href":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/issues/14"},"comments":{"href":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/osuosl-cookbooks/python-webapp/statuses/276fffe21a8e9b3442af36aa6d2b5825bdd84efe"}}}}