system-config/modules/openstack_project/manifests/params.pp
Monty Taylor 6269e09544 Add vim to the list of explicit things on servers
It used to be on the base images, but now is no longer on rackspace
performance nodes. Add it back in to make Monty less unhappy.

Change-Id: I11b691a1a40515336c270edd2dd9e7815d7f8785
2014-04-29 00:46:15 +00:00

23 lines
793 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', 'vim-minimal']
$update_pkg_list_cmd = ''
}
'Debian': {
$packages = ['puppet', 'wget']
$user_packages = ['byobu', 'emacs23-nox', 'vim-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).")
}
}
$allowed_ssh_command = 'timeout -s 9 30m puppet agent --onetime --ignorecache --no-daemonize --no-usecacheonfailure --no-splay'
}