{"action":"opened","issue":{"url":"https://api.github.com/repos/ghoneycutt/puppet-module-nscd/issues/41","repository_url":"https://api.github.com/repos/ghoneycutt/puppet-module-nscd","labels_url":"https://api.github.com/repos/ghoneycutt/puppet-module-nscd/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/ghoneycutt/puppet-module-nscd/issues/41/comments","events_url":"https://api.github.com/repos/ghoneycutt/puppet-module-nscd/issues/41/events","html_url":"https://github.com/ghoneycutt/puppet-module-nscd/issues/41","id":142601322,"number":41,"title":"Amazon linux support","user":{"login":"ipleten","id":6207156,"avatar_url":"https://avatars.githubusercontent.com/u/6207156?v=3","gravatar_id":"","url":"https://api.github.com/users/ipleten","html_url":"https://github.com/ipleten","followers_url":"https://api.github.com/users/ipleten/followers","following_url":"https://api.github.com/users/ipleten/following{/other_user}","gists_url":"https://api.github.com/users/ipleten/gists{/gist_id}","starred_url":"https://api.github.com/users/ipleten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipleten/subscriptions","organizations_url":"https://api.github.com/users/ipleten/orgs","repos_url":"https://api.github.com/users/ipleten/repos","events_url":"https://api.github.com/users/ipleten/events{/privacy}","received_events_url":"https://api.github.com/users/ipleten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-22T10:07:22Z","updated_at":"2016-03-22T10:07:22Z","closed_at":null,"body":"It doesn't work on Amazon linux.\r\n\r\n> Error: Nscd is only supported on EL 5, 6 and 7. Your operatingsystemmajrelease is identified as <2015>. at /etc/puppet/modules/nscd/manifests/init.pp:364 on node xxxx\r\n\r\nFacter sees Amazon linux osfamily tag as RedHat but version is in \"year.month\" format: \"2015.09\"\r\n\r\n```\r\noperatingsystem => Amazon\r\noperatingsystemmajrelease => 2015\r\noperatingsystemrelease => 2015.09\r\nos => {\"name\"=>\"Amazon\", \"family\"=>\"RedHat\", \"release\"=>{\"major\"=>\"2015\", \"minor\"=>\"09\", \"full\"=>\"2015.09\"}}\r\nosfamily => RedHat\r\n```\r\n"}}