7p9c7g
Last Updated: February 25, 2016
·
119
· miqui

load code based on operating system

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