{"action":"created","issue":{"url":"https://api.github.com/repos/waveclaw/puppet-subscription_manager/issues/23","repository_url":"https://api.github.com/repos/waveclaw/puppet-subscription_manager","labels_url":"https://api.github.com/repos/waveclaw/puppet-subscription_manager/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/waveclaw/puppet-subscription_manager/issues/23/comments","events_url":"https://api.github.com/repos/waveclaw/puppet-subscription_manager/issues/23/events","html_url":"https://github.com/waveclaw/puppet-subscription_manager/issues/23","id":159952351,"number":23,"title":"Facter Libs Not Working","user":{"login":"Ramorous","id":5339049,"avatar_url":"https://avatars.githubusercontent.com/u/5339049?v=3","gravatar_id":"","url":"https://api.github.com/users/Ramorous","html_url":"https://github.com/Ramorous","followers_url":"https://api.github.com/users/Ramorous/followers","following_url":"https://api.github.com/users/Ramorous/following{/other_user}","gists_url":"https://api.github.com/users/Ramorous/gists{/gist_id}","starred_url":"https://api.github.com/users/Ramorous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ramorous/subscriptions","organizations_url":"https://api.github.com/users/Ramorous/orgs","repos_url":"https://api.github.com/users/Ramorous/repos","events_url":"https://api.github.com/users/Ramorous/events{/privacy}","received_events_url":"https://api.github.com/users/Ramorous/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-13T13:39:01Z","updated_at":"2016-06-17T03:23:17Z","closed_at":null,"body":"The following snippet of code just isn't working for me in my environment.\r\n\r\n```\r\n    confine do\r\n      File.exist? '/usr/sbin/subscription-manager'\r\n    end\r\n# OR\r\n  confine { File.exist? '/usr/sbin/subscription-manager' }\r\n```\r\n\r\nEnvironment: RHEL 7.2 running Red Hat Satellite 6.1\r\n\r\nWhen running puppet agent, it find that rhsm_identity is blank. I comment that part out and it works perfectly. "},"comment":{"url":"https://api.github.com/repos/waveclaw/puppet-subscription_manager/issues/comments/226671532","html_url":"https://github.com/waveclaw/puppet-subscription_manager/issues/23#issuecomment-226671532","issue_url":"https://api.github.com/repos/waveclaw/puppet-subscription_manager/issues/23","id":226671532,"user":{"login":"waveclaw","id":73705,"avatar_url":"https://avatars.githubusercontent.com/u/73705?v=3","gravatar_id":"","url":"https://api.github.com/users/waveclaw","html_url":"https://github.com/waveclaw","followers_url":"https://api.github.com/users/waveclaw/followers","following_url":"https://api.github.com/users/waveclaw/following{/other_user}","gists_url":"https://api.github.com/users/waveclaw/gists{/gist_id}","starred_url":"https://api.github.com/users/waveclaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waveclaw/subscriptions","organizations_url":"https://api.github.com/users/waveclaw/orgs","repos_url":"https://api.github.com/users/waveclaw/repos","events_url":"https://api.github.com/users/waveclaw/events{/privacy}","received_events_url":"https://api.github.com/users/waveclaw/received_events","type":"User","site_admin":false},"created_at":"2016-06-17T03:23:17Z","updated_at":"2016-06-17T03:23:17Z","body":"What is the output of ruby -v on that system?\r\n\r\nThe confine in facter is supposed to not invoke the fact is [File.exist?](http://ruby-doc.org/core-2.2.0/File.html#method-c-exists-3F) call fails.   [File.exists?](http://ruby-doc.org/core-2.2.0/File.html#method-c-exists-3F) is the depricated call that was used for older Ruby instances.\r\n\r\nWhile I'm completely rebuiling my lab, could you provide what the output of 'ls /usr/sbin/subscription-manager' was or is on the system where 'facter rhsm_identity' does not return anything?"}}
{"actor":{"display_login":"waveclaw"}}