{"action":"created","issue":{"url":"https://api.github.com/repos/puppetlabs/facter/issues/933","labels_url":"https://api.github.com/repos/puppetlabs/facter/issues/933/labels{/name}","comments_url":"https://api.github.com/repos/puppetlabs/facter/issues/933/comments","events_url":"https://api.github.com/repos/puppetlabs/facter/issues/933/events","html_url":"https://github.com/puppetlabs/facter/pull/933","id":71785744,"number":933,"title":"(FACT-965) Implement initial support for JRuby.","user":{"login":"peterhuene","id":509666,"avatar_url":"https://avatars.githubusercontent.com/u/509666?v=3","gravatar_id":"","url":"https://api.github.com/users/peterhuene","html_url":"https://github.com/peterhuene","followers_url":"https://api.github.com/users/peterhuene/followers","following_url":"https://api.github.com/users/peterhuene/following{/other_user}","gists_url":"https://api.github.com/users/peterhuene/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhuene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhuene/subscriptions","organizations_url":"https://api.github.com/users/peterhuene/orgs","repos_url":"https://api.github.com/users/peterhuene/repos","events_url":"https://api.github.com/users/peterhuene/events{/privacy}","received_events_url":"https://api.github.com/users/peterhuene/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/puppetlabs/facter/labels/PL","name":"PL","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-29T05:49:48Z","updated_at":"2015-04-29T21:26:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/facter/pulls/933","html_url":"https://github.com/puppetlabs/facter/pull/933","diff_url":"https://github.com/puppetlabs/facter/pull/933.diff","patch_url":"https://github.com/puppetlabs/facter/pull/933.patch"},"body":"This enables `require 'facter'` to work under JRuby.\r\n\r\nCurrently the only functionality supported is `Facter#value`, which will\r\nreturn a Java object representing the fact's value.\r\n\r\nCustom facts are not implemented.\r\n\r\nBasically this is the bare minimum to get puppetserver working with\r\nFacter 3.\r\n\r\nThere's also no good way to unit test this integration.  The JNI export\r\nshould be compatible between different JVM versions.\r\n\r\nCurrently this requires a manual step of copying `<build_directory>/lib/facter.jar` to the load path of JRuby."},"comment":{"url":"https://api.github.com/repos/puppetlabs/facter/issues/comments/97590942","html_url":"https://github.com/puppetlabs/facter/pull/933#issuecomment-97590942","issue_url":"https://api.github.com/repos/puppetlabs/facter/issues/933","id":97590942,"user":{"login":"peterhuene","id":509666,"avatar_url":"https://avatars.githubusercontent.com/u/509666?v=3","gravatar_id":"","url":"https://api.github.com/users/peterhuene","html_url":"https://github.com/peterhuene","followers_url":"https://api.github.com/users/peterhuene/followers","following_url":"https://api.github.com/users/peterhuene/following{/other_user}","gists_url":"https://api.github.com/users/peterhuene/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhuene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhuene/subscriptions","organizations_url":"https://api.github.com/users/peterhuene/orgs","repos_url":"https://api.github.com/users/peterhuene/repos","events_url":"https://api.github.com/users/peterhuene/events{/privacy}","received_events_url":"https://api.github.com/users/peterhuene/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T21:26:41Z","updated_at":"2015-04-29T21:26:41Z","body":"Wait for merge on this, resolving on last issue of installing facter.jar."}}