Last Updated: February 25, 2016
·
344
· miqui

load code based on operating system

case $operatingsystem {
  'RedHat', 'CentOS': {  }
  /^(Debian|Ubuntu)$/:{  }
  default:  {  
           fail("Unsupported ${::operatingsystem}")   
  }
}