1 2 3 4
class profiles::workstation { $os = $facts['os']['name'].downcase() include "::profiles::workstation::${os}" }