
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
22 lines
688 B
Puppet
22 lines
688 B
Puppet
# Class: openstack_project::params
|
|
#
|
|
# This class holds parameters that need to be
|
|
# accessed by other classes.
|
|
class openstack_project::params {
|
|
case $::osfamily {
|
|
'RedHat': {
|
|
$packages = ['puppet', 'python-setuptools', 'wget']
|
|
$user_packages = ['byobu', 'emacs-nox']
|
|
$update_pkg_list_cmd = ''
|
|
}
|
|
'Debian', 'Ubuntu': {
|
|
$packages = ['puppet', 'python-setuptools', 'wget']
|
|
$user_packages = ['byobu', 'emacs23-nox']
|
|
$update_pkg_list_cmd = 'apt-get update >/dev/null 2>&1;'
|
|
}
|
|
default: {
|
|
fail("Unsupported osfamily: ${::osfamily} The 'openstack_project' module only supports osfamily Ubuntu or Redhat(slaves only).")
|
|
}
|
|
}
|
|
}
|