{"action":"created","issue":{"url":"https://api.github.com/repos/theforeman/puppet-puppet/issues/276","labels_url":"https://api.github.com/repos/theforeman/puppet-puppet/issues/276/labels{/name}","comments_url":"https://api.github.com/repos/theforeman/puppet-puppet/issues/276/comments","events_url":"https://api.github.com/repos/theforeman/puppet-puppet/issues/276/events","html_url":"https://github.com/theforeman/puppet-puppet/pull/276","id":89008571,"number":276,"title":"Classfile should point to $statedir/classes.txt by default.","user":{"login":"AlexRRR","id":1485216,"avatar_url":"https://avatars.githubusercontent.com/u/1485216?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexRRR","html_url":"https://github.com/AlexRRR","followers_url":"https://api.github.com/users/AlexRRR/followers","following_url":"https://api.github.com/users/AlexRRR/following{/other_user}","gists_url":"https://api.github.com/users/AlexRRR/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexRRR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexRRR/subscriptions","organizations_url":"https://api.github.com/users/AlexRRR/orgs","repos_url":"https://api.github.com/users/AlexRRR/repos","events_url":"https://api.github.com/users/AlexRRR/events{/privacy}","received_events_url":"https://api.github.com/users/AlexRRR/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-17T12:51:46Z","updated_at":"2015-06-17T13:52:16Z","closed_at":"2015-06-17T13:52:16Z","pull_request":{"url":"https://api.github.com/repos/theforeman/puppet-puppet/pulls/276","html_url":"https://github.com/theforeman/puppet-puppet/pull/276","diff_url":"https://github.com/theforeman/puppet-puppet/pull/276.diff","patch_url":"https://github.com/theforeman/puppet-puppet/pull/276.patch"},"body":"\r\nHi! recently I noticed that the classfile parameter is pointing to the wrong place:\r\n\r\nThe documentation states that it should be set by default to ```$statedir/classes.txt``` \r\n\r\nI ran into a weird problem where MCollective could not find node based on classes because it was looking at the default file path, while this module sets it to a really old default.\r\n\r\nThe Mcollective documentation (fro puppetlab) states:\r\n> Puppet provides a list of classes applied to a node by default in /var/puppet/state/classes.txt or  /var/lib/puppet/state/classes.txt (depending on which Puppet version you are using. The latter is true for 0.25.5 onwards) , we’ll use this data with –with-class filters.\r\n\r\n\r\nThank you!"},"comment":{"url":"https://api.github.com/repos/theforeman/puppet-puppet/issues/comments/112808984","html_url":"https://github.com/theforeman/puppet-puppet/pull/276#issuecomment-112808984","issue_url":"https://api.github.com/repos/theforeman/puppet-puppet/issues/276","id":112808984,"user":{"login":"AlexRRR","id":1485216,"avatar_url":"https://avatars.githubusercontent.com/u/1485216?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexRRR","html_url":"https://github.com/AlexRRR","followers_url":"https://api.github.com/users/AlexRRR/followers","following_url":"https://api.github.com/users/AlexRRR/following{/other_user}","gists_url":"https://api.github.com/users/AlexRRR/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexRRR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexRRR/subscriptions","organizations_url":"https://api.github.com/users/AlexRRR/orgs","repos_url":"https://api.github.com/users/AlexRRR/repos","events_url":"https://api.github.com/users/AlexRRR/events{/privacy}","received_events_url":"https://api.github.com/users/AlexRRR/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T13:52:16Z","updated_at":"2015-06-17T13:52:16Z","body":"ugh. sorry about that, will try with a different pull, too lazy to rebase."}}