system-config/modules/openstack_project/manifests/params.pp
Monty Taylor bd3886ed14 Install pip using get-pip in launch node
packaged pip vs. upstream pip gets the systems very broken. Make launch-node
use get-pip to install pip as per:

http://www.pip-installer.org/en/latest/installing.html

Change-Id: Ice28b47d766c04b42462a7297911dc1a1abe5a77
2013-12-18 20:03:39 +00:00

22 lines
637 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']
$user_packages = ['byobu', 'emacs-nox']
$update_pkg_list_cmd = ''
}
'Debian': {
$packages = ['puppet', '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 Debian or RedHat (slaves only).")
}
}
}