{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/issues/305","labels_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/issues/305/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/issues/305/comments","events_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/issues/305/events","html_url":"https://github.com/jenkinsci/puppet-jenkins/pull/305","id":78978033,"number":305,"title":"Added support for reload if private key defined","user":{"login":"vhartikainen","id":9887597,"avatar_url":"https://avatars.githubusercontent.com/u/9887597?v=3","gravatar_id":"","url":"https://api.github.com/users/vhartikainen","html_url":"https://github.com/vhartikainen","followers_url":"https://api.github.com/users/vhartikainen/followers","following_url":"https://api.github.com/users/vhartikainen/following{/other_user}","gists_url":"https://api.github.com/users/vhartikainen/gists{/gist_id}","starred_url":"https://api.github.com/users/vhartikainen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vhartikainen/subscriptions","organizations_url":"https://api.github.com/users/vhartikainen/orgs","repos_url":"https://api.github.com/users/vhartikainen/repos","events_url":"https://api.github.com/users/vhartikainen/events{/privacy}","received_events_url":"https://api.github.com/users/vhartikainen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-05-21T12:42:40Z","updated_at":"2015-05-25T06:54:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/pulls/305","html_url":"https://github.com/jenkinsci/puppet-jenkins/pull/305","diff_url":"https://github.com/jenkinsci/puppet-jenkins/pull/305.diff","patch_url":"https://github.com/jenkinsci/puppet-jenkins/pull/305.patch"},"body":"The original version didn't support reloads if authentication was required. Not sure how clumsy / right way the proposed patch is, but it should support the reloading over cli when private key has been defined in cli_helper."},"comment":{"url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/issues/comments/105141943","html_url":"https://github.com/jenkinsci/puppet-jenkins/pull/305#issuecomment-105141943","issue_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/issues/305","id":105141943,"user":{"login":"jhoblitt","id":948901,"avatar_url":"https://avatars.githubusercontent.com/u/948901?v=3","gravatar_id":"","url":"https://api.github.com/users/jhoblitt","html_url":"https://github.com/jhoblitt","followers_url":"https://api.github.com/users/jhoblitt/followers","following_url":"https://api.github.com/users/jhoblitt/following{/other_user}","gists_url":"https://api.github.com/users/jhoblitt/gists{/gist_id}","starred_url":"https://api.github.com/users/jhoblitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhoblitt/subscriptions","organizations_url":"https://api.github.com/users/jhoblitt/orgs","repos_url":"https://api.github.com/users/jhoblitt/repos","events_url":"https://api.github.com/users/jhoblitt/events{/privacy}","received_events_url":"https://api.github.com/users/jhoblitt/received_events","type":"User","site_admin":false},"created_at":"2015-05-25T06:54:41Z","updated_at":"2015-05-25T06:54:41Z","body":"@vanderhallenf The chicken and egg problem with security is one of the main reasons I'm working on native types and providers.  I have proper handling of auth/no-auth with retrying working for users, the security realm, and authentication strategy but I've discovered I need to re-implement pretty much everything before it'll be ready for merge along with some refactoring.  This has turned out to be a larger job then expected.  I've got ~3 weeks of full time work into the patch set and its over already over 3K lines.  I've had to pause work on this front for a bit due to my underestimate and am about to leave on vacation.  I may be ready to start submitting work upstream by the end of June but I wouldn't be surprised if it slipped.  Your more than welcome to give my branch a try but the only documentation is currently the strings in the source.  https://github.com/jhoblitt/puppet-jenkins/tree/feature/types_and_providers\r\n\r\nContemplating this a bit more, I think merging this PR as-is is the way to go since it is both reasonable and doesn't modify the syntax of the public API.  This lets us punt on API refactoring until there is a good solution to the authentication problem.\r\n"}}