{"action":"closed","number":41,"pull_request":{"url":"https://api.github.com/repos/camptocamp/puppet-accounts/pulls/41","id":75540246,"node_id":"MDExOlB1bGxSZXF1ZXN0NzU1NDAyNDY=","html_url":"https://github.com/camptocamp/puppet-accounts/pull/41","diff_url":"https://github.com/camptocamp/puppet-accounts/pull/41.diff","patch_url":"https://github.com/camptocamp/puppet-accounts/pull/41.patch","issue_url":"https://api.github.com/repos/camptocamp/puppet-accounts/issues/41","number":41,"state":"closed","locked":false,"title":"Fix puppet error if the account is not yet created","user":{"login":"Zophar78","id":3404420,"node_id":"MDQ6VXNlcjM0MDQ0MjA=","avatar_url":"https://avatars2.githubusercontent.com/u/3404420?v=4","gravatar_id":"","url":"https://api.github.com/users/Zophar78","html_url":"https://github.com/Zophar78","followers_url":"https://api.github.com/users/Zophar78/followers","following_url":"https://api.github.com/users/Zophar78/following{/other_user}","gists_url":"https://api.github.com/users/Zophar78/gists{/gist_id}","starred_url":"https://api.github.com/users/Zophar78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zophar78/subscriptions","organizations_url":"https://api.github.com/users/Zophar78/orgs","repos_url":"https://api.github.com/users/Zophar78/repos","events_url":"https://api.github.com/users/Zophar78/events{/privacy}","received_events_url":"https://api.github.com/users/Zophar78/received_events","type":"User","site_admin":false},"body":"Hi there ;)\nI had an error when pushing accounts through hiera and providing a private key... It generates an error when creating the private key as the user home folder doesn't exist at the time the command is run. It would be better with a require but I don't know how to require a resource from a custom module. At least this patch avoid any errors and deploy the private key at next run.\n\nTell me what you think about this one... Is it possible to do this with a require?\n","created_at":"2016-06-28T19:58:26Z","updated_at":"2019-04-05T14:02:32Z","closed_at":"2019-04-05T14:02:32Z","merged_at":"2019-04-05T14:02:32Z","merge_commit_sha":"76413dc75057b2aaafb16ff10a2fffa818571213","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/camptocamp/puppet-accounts/pulls/41/commits","review_comments_url":"https://api.github.com/repos/camptocamp/puppet-accounts/pulls/41/comments","review_comment_url":"https://api.github.com/repos/camptocamp/puppet-accounts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/camptocamp/puppet-accounts/issues/41/comments","statuses_url":"https://api.github.com/repos/camptocamp/puppet-accounts/statuses/4d70816a8f4c6277e0f2bc33352e513807d1261b","head":{"label":"Zophar78:fix/private_keys","ref":"fix/private_keys","sha":"4d70816a8f4c6277e0f2bc33352e513807d1261b","user":{"login":"Zophar78","id":3404420,"node_id":"MDQ6VXNlcjM0MDQ0MjA=","avatar_url":"https://avatars2.githubusercontent.com/u/3404420?v=4","gravatar_id":"","url":"https://api.github.com/users/Zophar78","html_url":"https://github.com/Zophar78","followers_url":"https://api.github.com/users/Zophar78/followers","following_url":"https://api.github.com/users/Zophar78/following{/other_user}","gists_url":"https://api.github.com/users/Zophar78/gists{/gist_id}","starred_url":"https://api.github.com/users/Zophar78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zophar78/subscriptions","organizations_url":"https://api.github.com/users/Zophar78/orgs","repos_url":"https://api.github.com/users/Zophar78/repos","events_url":"https://api.github.com/users/Zophar78/events{/privacy}","received_events_url":"https://api.github.com/users/Zophar78/received_events","type":"User","site_admin":false},"repo":null},"base":{"label":"camptocamp:master","ref":"master","sha":"9a04687abd8588fbdf6e1b2480619f134c5c5bd3","user":{"login":"camptocamp","id":28109,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MTA5","avatar_url":"https://avatars0.githubusercontent.com/u/28109?v=4","gravatar_id":"","url":"https://api.github.com/users/camptocamp","html_url":"https://github.com/camptocamp","followers_url":"https://api.github.com/users/camptocamp/followers","following_url":"https://api.github.com/users/camptocamp/following{/other_user}","gists_url":"https://api.github.com/users/camptocamp/gists{/gist_id}","starred_url":"https://api.github.com/users/camptocamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camptocamp/subscriptions","organizations_url":"https://api.github.com/users/camptocamp/orgs","repos_url":"https://api.github.com/users/camptocamp/repos","events_url":"https://api.github.com/users/camptocamp/events{/privacy}","received_events_url":"https://api.github.com/users/camptocamp/received_events","type":"Organization","site_admin":false},"repo":{"id":18632116,"node_id":"MDEwOlJlcG9zaXRvcnkxODYzMjExNg==","name":"puppet-accounts","full_name":"camptocamp/puppet-accounts","private":false,"owner":{"login":"camptocamp","id":28109,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MTA5","avatar_url":"https://avatars0.githubusercontent.com/u/28109?v=4","gravatar_id":"","url":"https://api.github.com/users/camptocamp","html_url":"https://github.com/camptocamp","followers_url":"https://api.github.com/users/camptocamp/followers","following_url":"https://api.github.com/users/camptocamp/following{/other_user}","gists_url":"https://api.github.com/users/camptocamp/gists{/gist_id}","starred_url":"https://api.github.com/users/camptocamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camptocamp/subscriptions","organizations_url":"https://api.github.com/users/camptocamp/orgs","repos_url":"https://api.github.com/users/camptocamp/repos","events_url":"https://api.github.com/users/camptocamp/events{/privacy}","received_events_url":"https://api.github.com/users/camptocamp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/camptocamp/puppet-accounts","description":null,"fork":false,"url":"https://api.github.com/repos/camptocamp/puppet-accounts","forks_url":"https://api.github.com/repos/camptocamp/puppet-accounts/forks","keys_url":"https://api.github.com/repos/camptocamp/puppet-accounts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/camptocamp/puppet-accounts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/camptocamp/puppet-accounts/teams","hooks_url":"https://api.github.com/repos/camptocamp/puppet-accounts/hooks","issue_events_url":"https://api.github.com/repos/camptocamp/puppet-accounts/issues/events{/number}","events_url":"https://api.github.com/repos/camptocamp/puppet-accounts/events","assignees_url":"https://api.github.com/repos/camptocamp/puppet-accounts/assignees{/user}","branches_url":"https://api.github.com/repos/camptocamp/puppet-accounts/branches{/branch}","tags_url":"https://api.github.com/repos/camptocamp/puppet-accounts/tags","blobs_url":"https://api.github.com/repos/camptocamp/puppet-accounts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/camptocamp/puppet-accounts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/camptocamp/puppet-accounts/git/refs{/sha}","trees_url":"https://api.github.com/repos/camptocamp/puppet-accounts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/camptocamp/puppet-accounts/statuses/{sha}","languages_url":"https://api.github.com/repos/camptocamp/puppet-accounts/languages","stargazers_url":"https://api.github.com/repos/camptocamp/puppet-accounts/stargazers","contributors_url":"https://api.github.com/repos/camptocamp/puppet-accounts/contributors","subscribers_url":"https://api.github.com/repos/camptocamp/puppet-accounts/subscribers","subscription_url":"https://api.github.com/repos/camptocamp/puppet-accounts/subscription","commits_url":"https://api.github.com/repos/camptocamp/puppet-accounts/commits{/sha}","git_commits_url":"https://api.github.com/repos/camptocamp/puppet-accounts/git/commits{/sha}","comments_url":"https://api.github.com/repos/camptocamp/puppet-accounts/comments{/number}","issue_comment_url":"https://api.github.com/repos/camptocamp/puppet-accounts/issues/comments{/number}","contents_url":"https://api.github.com/repos/camptocamp/puppet-accounts/contents/{+path}","compare_url":"https://api.github.com/repos/camptocamp/puppet-accounts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/camptocamp/puppet-accounts/merges","archive_url":"https://api.github.com/repos/camptocamp/puppet-accounts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/camptocamp/puppet-accounts/downloads","issues_url":"https://api.github.com/repos/camptocamp/puppet-accounts/issues{/number}","pulls_url":"https://api.github.com/repos/camptocamp/puppet-accounts/pulls{/number}","milestones_url":"https://api.github.com/repos/camptocamp/puppet-accounts/milestones{/number}","notifications_url":"https://api.github.com/repos/camptocamp/puppet-accounts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/camptocamp/puppet-accounts/labels{/name}","releases_url":"https://api.github.com/repos/camptocamp/puppet-accounts/releases{/id}","deployments_url":"https://api.github.com/repos/camptocamp/puppet-accounts/deployments","created_at":"2014-04-10T10:11:36Z","updated_at":"2019-04-05T14:01:23Z","pushed_at":"2019-04-05T14:02:32Z","git_url":"git://github.com/camptocamp/puppet-accounts.git","ssh_url":"git@github.com:camptocamp/puppet-accounts.git","clone_url":"https://github.com/camptocamp/puppet-accounts.git","svn_url":"https://github.com/camptocamp/puppet-accounts","homepage":null,"size":167,"stargazers_count":11,"watchers_count":11,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":43,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":18,"license":null,"forks":43,"open_issues":18,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/camptocamp/puppet-accounts/pulls/41"},"html":{"href":"https://github.com/camptocamp/puppet-accounts/pull/41"},"issue":{"href":"https://api.github.com/repos/camptocamp/puppet-accounts/issues/41"},"comments":{"href":"https://api.github.com/repos/camptocamp/puppet-accounts/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/camptocamp/puppet-accounts/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/camptocamp/puppet-accounts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/camptocamp/puppet-accounts/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/camptocamp/puppet-accounts/statuses/4d70816a8f4c6277e0f2bc33352e513807d1261b"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"raphink","id":650430,"node_id":"MDQ6VXNlcjY1MDQzMA==","avatar_url":"https://avatars2.githubusercontent.com/u/650430?v=4","gravatar_id":"","url":"https://api.github.com/users/raphink","html_url":"https://github.com/raphink","followers_url":"https://api.github.com/users/raphink/followers","following_url":"https://api.github.com/users/raphink/following{/other_user}","gists_url":"https://api.github.com/users/raphink/gists{/gist_id}","starred_url":"https://api.github.com/users/raphink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphink/subscriptions","organizations_url":"https://api.github.com/users/raphink/orgs","repos_url":"https://api.github.com/users/raphink/repos","events_url":"https://api.github.com/users/raphink/events{/privacy}","received_events_url":"https://api.github.com/users/raphink/received_events","type":"User","site_admin":false},"comments":1,"review_comments":1,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"raphink"}}