Specify glance client package name in params.pp.

This commit is contained in:
John Chilton 2012-05-03 10:36:15 -05:00
parent 7f08fd4207
commit 9d8a1fb56d
2 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@ class glance::client (
) {
package { 'python-glance':
name => $::glance::params::client_package_name,
ensure => $ensure,
}

View File

@ -2,6 +2,8 @@
# should be considered to be constant
class glance::params {
$client_package_name = 'python-glance'
case $::osfamily {
'RedHat': {
$package_name = 'openstack-glance'