{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack-formulas/openssh-formula/issues/118","repository_url":"https://api.github.com/repos/saltstack-formulas/openssh-formula","labels_url":"https://api.github.com/repos/saltstack-formulas/openssh-formula/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/saltstack-formulas/openssh-formula/issues/118/comments","events_url":"https://api.github.com/repos/saltstack-formulas/openssh-formula/issues/118/events","html_url":"https://github.com/saltstack-formulas/openssh-formula/pull/118","id":265610270,"number":118,"title":"[FIX] When key is present override generating by any way","user":{"login":"amontalban","id":941928,"avatar_url":"https://avatars2.githubusercontent.com/u/941928?v=4","gravatar_id":"","url":"https://api.github.com/users/amontalban","html_url":"https://github.com/amontalban","followers_url":"https://api.github.com/users/amontalban/followers","following_url":"https://api.github.com/users/amontalban/following{/other_user}","gists_url":"https://api.github.com/users/amontalban/gists{/gist_id}","starred_url":"https://api.github.com/users/amontalban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amontalban/subscriptions","organizations_url":"https://api.github.com/users/amontalban/orgs","repos_url":"https://api.github.com/users/amontalban/repos","events_url":"https://api.github.com/users/amontalban/events{/privacy}","received_events_url":"https://api.github.com/users/amontalban/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-15T22:29:49Z","updated_at":"2017-12-29T03:02:13Z","closed_at":"2017-12-29T03:02:09Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/saltstack-formulas/openssh-formula/pulls/118","html_url":"https://github.com/saltstack-formulas/openssh-formula/pull/118","diff_url":"https://github.com/saltstack-formulas/openssh-formula/pull/118.diff","patch_url":"https://github.com/saltstack-formulas/openssh-formula/pull/118.patch"},"body":"We have the following situation:\r\n\r\n- A global pillar that forces generation of keys\r\n- A specific pillar that setup a specific key for a specific host\r\n\r\nSo this fails because the formula generates a new key instead of first checking if there is a specific key.\r\n\r\nProbably not the best way to solve this, but was the more straightforward.\r\n\r\nLet me know what do you think.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/saltstack-formulas/openssh-formula/issues/comments/354391231","html_url":"https://github.com/saltstack-formulas/openssh-formula/pull/118#issuecomment-354391231","issue_url":"https://api.github.com/repos/saltstack-formulas/openssh-formula/issues/118","id":354391231,"user":{"login":"alxwr","id":1920805,"avatar_url":"https://avatars0.githubusercontent.com/u/1920805?v=4","gravatar_id":"","url":"https://api.github.com/users/alxwr","html_url":"https://github.com/alxwr","followers_url":"https://api.github.com/users/alxwr/followers","following_url":"https://api.github.com/users/alxwr/following{/other_user}","gists_url":"https://api.github.com/users/alxwr/gists{/gist_id}","starred_url":"https://api.github.com/users/alxwr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alxwr/subscriptions","organizations_url":"https://api.github.com/users/alxwr/orgs","repos_url":"https://api.github.com/users/alxwr/repos","events_url":"https://api.github.com/users/alxwr/events{/privacy}","received_events_url":"https://api.github.com/users/alxwr/received_events","type":"User","site_admin":false},"created_at":"2017-12-29T03:02:13Z","updated_at":"2017-12-29T03:02:13Z","author_association":"MEMBER","body":"Tested on FreeBSD 10.3 and Ubuntu 16.04"}}
{"actor":{"display_login":"alxwr"}}