Add compatibility for Gentoo osfamiy

I've added a case statement to fix the problem related to the issue --> https://github.com/puppetlabs/puppetlabs-postgresql/issues/226