Monty Taylor 0698a68549 Add ping to our machines
Everything wants ping, so we should include it everywhere.

Change-Id: I3b471bb2e250ed2b0a755cd5da21452b8eff28cd
2015-07-15 09:45:23 -04:00

31 lines
999 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', 'wget', 'iputils']
$user_packages = ['emacs-nox', 'vim-enhanced']
$update_pkg_list_cmd = ''
$login_defs = 'puppet:///modules/openstack_project/login.defs.redhat'
}
'Debian': {
$packages = ['puppet', 'wget', 'iputils-ping']
case $::operatingsystemrelease {
/^(12|14)\.(04|10)$/: {
$user_packages = ['emacs23-nox', 'vim-nox']
}
default: {
$user_packages = ['emacs-nox', 'vim-nox']
}
}
$update_pkg_list_cmd = 'apt-get update >/dev/null 2>&1;'
$login_defs = 'puppet:///modules/openstack_project/login.defs.debian'
}
default: {
fail("Unsupported osfamily: ${::osfamily} The 'openstack_project' module only supports osfamily Debian or RedHat (slaves only).")
}
}
}