From fb5d682773e5d05276d8aea12312245a11aacebb Mon Sep 17 00:00:00 2001 From: Spencer Krum Date: Sat, 2 Aug 2014 21:14:10 -0700 Subject: [PATCH] future proofing the trusty/precise changes Change-Id: I09e2f41ffc47c1c30859e6115ce977ab8cb29e50 --- modules/openstack_project/manifests/jenkins_params.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/openstack_project/manifests/jenkins_params.pp b/modules/openstack_project/manifests/jenkins_params.pp index d31b3e72e4..9e37afe7dd 100644 --- a/modules/openstack_project/manifests/jenkins_params.pp +++ b/modules/openstack_project/manifests/jenkins_params.pp @@ -123,10 +123,10 @@ class openstack_project::jenkins_params { $python_magic_package = 'python-magic' $python_requests_package = 'python-requests' $python_zmq_package = 'python-zmq' - if $::lsbdistcodename == 'trusty' { - $rubygems_package = 'ruby' - } else { + if $::lsbdistcodename == 'precise' { $rubygems_package = 'rubygems' + } else { + $rubygems_package = 'ruby' } $ruby1_9_1_package = 'ruby1.9.1' $ruby1_9_1_dev_package = 'ruby1.9.1-dev'