Also note that Ubuntu is not an osfamily.  $::operatingsystem == Ubuntu is part of $::osfamily == Debian.