example42/puppet-modules — pull request #26 by amosshapira (2012-05-10 12:35:26+00:00)
Title: use $osfamily to be more portable

1. Use $::osfamily to cover entire "Redhat" family (SL, Fedora etc) and Debian/Ubuntu to avoid duplication and be more portable ('Redhat' family convers also Scientific Linux, for instance)

2. Use absolute variable paths since relative ones will be deprecated in Puppet 2.8

ref for $osfamily: https://github.com/puppetlabs/facter/blob/master/lib/facter/osfamily.rb