
The install scripts now look for CentOS in release files. Also some instances of facter's operatingsystem are switched to osfamily and capitalization of RedHat is normalized to match what facter uses. Change-Id: I3bbca5481d0d5e6de9e62bfd6e2b0a85264ed6ed Reviewed-on: https://review.openstack.org/27398 Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Tested-by: Jenkins
20 lines
476 B
Puppet
20 lines
476 B
Puppet
# 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).")
|
|
}
|
|
}
|
|
}
|