Add case $::osfamily for the conf.d path.
Add case $osfamily for the conf.d path