And I think you should also change the default message to warn $::osfamily is not supported, instead of $::operatingsystem.