I suppose you mean a choice based on $::operatingsystem or $::osfamily

And ..... now that i look i see there is one just below :-( ....
I will move this in that case...