Given https://github.com/puppetlabs/facter/blob/master/lib/facter/osfamily.rb it seems that the operatingsysyem fact for Oracle Linux is OracleLinux, not just Linux.
Can you double check this?
Note that in my modules i generally don't use (at the moment) the osfamily fact for compatibility with older facter versions.