# Class: ssh::params # # This class holds parameters that need to be # accessed by other classes. class ssh::params { case $::osfamily { 'Redhat': { $package_name = 'openssh-server' $service_name = 'sshd' } 'Debian', 'Ubuntu': { $package_name = 'openssh-server' $service_name = 'ssh' } default: { fail("Unsupported osfamily: ${::osfamily} The 'ssh' module only supports osfamily Ubuntu or Redhat(slaves only).") } } }