{"action":"created","issue":{"url":"https://api.github.com/repos/puppetlabs/facter/issues/1191","labels_url":"https://api.github.com/repos/puppetlabs/facter/issues/1191/labels{/name}","comments_url":"https://api.github.com/repos/puppetlabs/facter/issues/1191/comments","events_url":"https://api.github.com/repos/puppetlabs/facter/issues/1191/events","html_url":"https://github.com/puppetlabs/facter/pull/1191","id":111068907,"number":1191,"title":"(FACT-1227) Prevent Puppet from altering Facter logging with -p.","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":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-12T22:37:31Z","updated_at":"2015-10-13T22:24:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/facter/pulls/1191","html_url":"https://github.com/puppetlabs/facter/pull/1191","diff_url":"https://github.com/puppetlabs/facter/pull/1191.diff","patch_url":"https://github.com/puppetlabs/facter/pull/1191.patch"},"body":"When the `-p` option is given to Facter, Facter loads and initializes Puppet.\r\nHowever, part of the Puppet initialization is to alter Facter's logging\r\nbehavior to better integrate it with Puppet's output.\r\n\r\nWhen Puppet is loaded by Facter, this is undesirable behavior as by default\r\nthis will cause no further output from Facter other than printing the facts.\r\n\r\nTo fix this, this change only defines the methods that Puppet consumes to alter\r\nFacter's logging behavior if the `-p` option was not specified.  Puppet already\r\nchecks for these methods being present before consuming them."},"comment":{"url":"https://api.github.com/repos/puppetlabs/facter/issues/comments/147871426","html_url":"https://github.com/puppetlabs/facter/pull/1191#issuecomment-147871426","issue_url":"https://api.github.com/repos/puppetlabs/facter/issues/1191","id":147871426,"user":{"login":"MikaelSmith","id":8162496,"avatar_url":"https://avatars.githubusercontent.com/u/8162496?v=3","gravatar_id":"","url":"https://api.github.com/users/MikaelSmith","html_url":"https://github.com/MikaelSmith","followers_url":"https://api.github.com/users/MikaelSmith/followers","following_url":"https://api.github.com/users/MikaelSmith/following{/other_user}","gists_url":"https://api.github.com/users/MikaelSmith/gists{/gist_id}","starred_url":"https://api.github.com/users/MikaelSmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikaelSmith/subscriptions","organizations_url":"https://api.github.com/users/MikaelSmith/orgs","repos_url":"https://api.github.com/users/MikaelSmith/repos","events_url":"https://api.github.com/users/MikaelSmith/events{/privacy}","received_events_url":"https://api.github.com/users/MikaelSmith/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T22:24:55Z","updated_at":"2015-10-13T22:24:55Z","body":"Otherwise :+1: "}}