{"action":"created","issue":{"url":"https://api.github.com/repos/hw-cookbooks/chef-server-populator/issues/3","labels_url":"https://api.github.com/repos/hw-cookbooks/chef-server-populator/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/hw-cookbooks/chef-server-populator/issues/3/comments","events_url":"https://api.github.com/repos/hw-cookbooks/chef-server-populator/issues/3/events","html_url":"https://github.com/hw-cookbooks/chef-server-populator/pull/3","id":37006594,"number":3,"title":"use sudo to run the pg_dump so that it works with 11.1.3","user":{"login":"pmacdougall","id":2111876,"avatar_url":"https://avatars.githubusercontent.com/u/2111876?v=3","gravatar_id":"","url":"https://api.github.com/users/pmacdougall","html_url":"https://github.com/pmacdougall","followers_url":"https://api.github.com/users/pmacdougall/followers","following_url":"https://api.github.com/users/pmacdougall/following{/other_user}","gists_url":"https://api.github.com/users/pmacdougall/gists{/gist_id}","starred_url":"https://api.github.com/users/pmacdougall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmacdougall/subscriptions","organizations_url":"https://api.github.com/users/pmacdougall/orgs","repos_url":"https://api.github.com/users/pmacdougall/repos","events_url":"https://api.github.com/users/pmacdougall/events{/privacy}","received_events_url":"https://api.github.com/users/pmacdougall/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-07-02T17:47:48Z","updated_at":"2015-04-29T17:40:10Z","closed_at":"2015-04-29T17:40:10Z","pull_request":{"url":"https://api.github.com/repos/hw-cookbooks/chef-server-populator/pulls/3","html_url":"https://github.com/hw-cookbooks/chef-server-populator/pull/3","diff_url":"https://github.com/hw-cookbooks/chef-server-populator/pull/3.diff","patch_url":"https://github.com/hw-cookbooks/chef-server-populator/pull/3.patch"},"body":"Found that the pg_dump command no longer worked with the 11.1.3 chef-server security patch.\r\n\r\nNow sudo-ing to the opscode-pgsql user and allowing group write access to the backup directory.\r\n\r\nAlso changed to using the -f option for the output file because stdout redirection can have issues under sudo."},"comment":{"url":"https://api.github.com/repos/hw-cookbooks/chef-server-populator/issues/comments/97514856","html_url":"https://github.com/hw-cookbooks/chef-server-populator/pull/3#issuecomment-97514856","issue_url":"https://api.github.com/repos/hw-cookbooks/chef-server-populator/issues/3","id":97514856,"user":{"login":"luckymike","id":479368,"avatar_url":"https://avatars.githubusercontent.com/u/479368?v=3","gravatar_id":"","url":"https://api.github.com/users/luckymike","html_url":"https://github.com/luckymike","followers_url":"https://api.github.com/users/luckymike/followers","following_url":"https://api.github.com/users/luckymike/following{/other_user}","gists_url":"https://api.github.com/users/luckymike/gists{/gist_id}","starred_url":"https://api.github.com/users/luckymike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luckymike/subscriptions","organizations_url":"https://api.github.com/users/luckymike/orgs","repos_url":"https://api.github.com/users/luckymike/repos","events_url":"https://api.github.com/users/luckymike/events{/privacy}","received_events_url":"https://api.github.com/users/luckymike/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T17:40:10Z","updated_at":"2015-04-29T17:40:10Z","body":"Closing as we're not actively updating for 11.x versions any longer."}}