dots/puppet/production/site/role/manifests/workstation.pp

16 lines
367 B
Puppet

# Includes all the profiles needed for a workstation
class role::workstation {
include profile::base
case $facts['kernel'] {
'Darwin': {
include profile::mac
}
'Linux': {
include profile::linux
}
default: {
fail("${facts['kernel']} hasn't been setup in the workstation role yet.")
}
} # end of kernel case statement
}