{"action":"opened","number":323,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/pulls/323","id":81316540,"html_url":"https://github.com/puppetlabs/puppetlabs-mongodb/pull/323","diff_url":"https://github.com/puppetlabs/puppetlabs-mongodb/pull/323.diff","patch_url":"https://github.com/puppetlabs/puppetlabs-mongodb/pull/323.patch","issue_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/issues/323","number":323,"state":"open","locked":false,"title":"set correct permissions on dbpath","user":{"login":"epleterte","id":370010,"avatar_url":"https://avatars.githubusercontent.com/u/370010?v=3","gravatar_id":"","url":"https://api.github.com/users/epleterte","html_url":"https://github.com/epleterte","followers_url":"https://api.github.com/users/epleterte/followers","following_url":"https://api.github.com/users/epleterte/following{/other_user}","gists_url":"https://api.github.com/users/epleterte/gists{/gist_id}","starred_url":"https://api.github.com/users/epleterte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epleterte/subscriptions","organizations_url":"https://api.github.com/users/epleterte/orgs","repos_url":"https://api.github.com/users/epleterte/repos","events_url":"https://api.github.com/users/epleterte/events{/privacy}","received_events_url":"https://api.github.com/users/epleterte/received_events","type":"User","site_admin":false},"body":"Puppet will retain 0755 for directories.\r\n\r\nI was getting restarts and primary/secondary switches on mongodb clusters on a very regular basis.\r\nSince the file stanza is doing 'recurse', the mode set should be 0644. Mongodb was writing files with 0644, causing Puppet to change file mode triggering a restart (and a file shouldn't be 755 anyway).\r\nUnless otherwise specified Puppet is smart enough to understand that when using 'recurse' directories should keep/get 755 - if you need other permissions for a directory in the tree those can be explicitly set with a separate entry.","created_at":"2016-08-15T14:08:11Z","updated_at":"2016-08-15T14:08:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/pulls/323/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/pulls/323/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/issues/323/comments","statuses_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/statuses/1d7963d20587312a102b97dcf6f5d1d851b0ac9e","head":{"label":"epleterte:dbpath_permissions","ref":"dbpath_permissions","sha":"1d7963d20587312a102b97dcf6f5d1d851b0ac9e","user":{"login":"epleterte","id":370010,"avatar_url":"https://avatars.githubusercontent.com/u/370010?v=3","gravatar_id":"","url":"https://api.github.com/users/epleterte","html_url":"https://github.com/epleterte","followers_url":"https://api.github.com/users/epleterte/followers","following_url":"https://api.github.com/users/epleterte/following{/other_user}","gists_url":"https://api.github.com/users/epleterte/gists{/gist_id}","starred_url":"https://api.github.com/users/epleterte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epleterte/subscriptions","organizations_url":"https://api.github.com/users/epleterte/orgs","repos_url":"https://api.github.com/users/epleterte/repos","events_url":"https://api.github.com/users/epleterte/events{/privacy}","received_events_url":"https://api.github.com/users/epleterte/received_events","type":"User","site_admin":false},"repo":{"id":53656328,"name":"puppetlabs-mongodb","full_name":"epleterte/puppetlabs-mongodb","owner":{"login":"epleterte","id":370010,"avatar_url":"https://avatars.githubusercontent.com/u/370010?v=3","gravatar_id":"","url":"https://api.github.com/users/epleterte","html_url":"https://github.com/epleterte","followers_url":"https://api.github.com/users/epleterte/followers","following_url":"https://api.github.com/users/epleterte/following{/other_user}","gists_url":"https://api.github.com/users/epleterte/gists{/gist_id}","starred_url":"https://api.github.com/users/epleterte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epleterte/subscriptions","organizations_url":"https://api.github.com/users/epleterte/orgs","repos_url":"https://api.github.com/users/epleterte/repos","events_url":"https://api.github.com/users/epleterte/events{/privacy}","received_events_url":"https://api.github.com/users/epleterte/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/epleterte/puppetlabs-mongodb","description":"mongodb installation","fork":true,"url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb","forks_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/forks","keys_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/teams","hooks_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/hooks","issue_events_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/issues/events{/number}","events_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/events","assignees_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/assignees{/user}","branches_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/branches{/branch}","tags_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/tags","blobs_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/git/refs{/sha}","trees_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/statuses/{sha}","languages_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/languages","stargazers_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/stargazers","contributors_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/contributors","subscribers_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/subscribers","subscription_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/subscription","commits_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/commits{/sha}","git_commits_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/git/commits{/sha}","comments_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/comments{/number}","issue_comment_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/issues/comments{/number}","contents_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/contents/{+path}","compare_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/merges","archive_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/downloads","issues_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/issues{/number}","pulls_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/pulls{/number}","milestones_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/milestones{/number}","notifications_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/labels{/name}","releases_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/releases{/id}","deployments_url":"https://api.github.com/repos/epleterte/puppetlabs-mongodb/deployments","created_at":"2016-03-11T09:38:44Z","updated_at":"2016-03-11T09:38:45Z","pushed_at":"2016-08-15T13:31:01Z","git_url":"git://github.com/epleterte/puppetlabs-mongodb.git","ssh_url":"git@github.com:epleterte/puppetlabs-mongodb.git","clone_url":"https://github.com/epleterte/puppetlabs-mongodb.git","svn_url":"https://github.com/epleterte/puppetlabs-mongodb","homepage":null,"size":491,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"puppetlabs:master","ref":"master","sha":"bf51a5a31f2afda51c753a78d742b621f336d8e5","user":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":4118136,"name":"puppetlabs-mongodb","full_name":"puppetlabs/puppetlabs-mongodb","owner":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/puppetlabs/puppetlabs-mongodb","description":"mongodb installation","fork":false,"url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb","forks_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/forks","keys_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/teams","hooks_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/events","assignees_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/tags","blobs_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/subscription","commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/merges","archive_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/downloads","issues_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/releases{/id}","deployments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/deployments","created_at":"2012-04-23T21:28:15Z","updated_at":"2016-08-03T00:44:16Z","pushed_at":"2016-08-03T15:45:25Z","git_url":"git://github.com/puppetlabs/puppetlabs-mongodb.git","ssh_url":"git@github.com:puppetlabs/puppetlabs-mongodb.git","clone_url":"https://github.com/puppetlabs/puppetlabs-mongodb.git","svn_url":"https://github.com/puppetlabs/puppetlabs-mongodb","homepage":null,"size":1044,"stargazers_count":74,"watchers_count":74,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":325,"mirror_url":null,"open_issues_count":32,"forks":325,"open_issues":32,"watchers":74,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/pulls/323"},"html":{"href":"https://github.com/puppetlabs/puppetlabs-mongodb/pull/323"},"issue":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/issues/323"},"comments":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/issues/323/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/pulls/323/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/pulls/323/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-mongodb/statuses/1d7963d20587312a102b97dcf6f5d1d851b0ac9e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"epleterte"}}