Gentoo support

Changes required for Gentoo puppet to work.