Add apt repo on Ubuntu

Ubuntu oneiric ships an older version of rabbitmq
that is not currently supported by our module (2.5)

This commit sets up the apt repos on Ubuntu to ensure that
the latest version is installed.
This commit is contained in:
Dan Bode 2012-03-18 12:57:12 -07:00
parent b812305416
commit e8f9180770

View File

@ -101,6 +101,9 @@ node glance {
}
node rabbitmq {
if($::operatingsystem == 'Ubuntu') {
class { 'rabbitmq::repo::apt': }
}
class { 'nova::rabbitmq':
userid => $rabbit_user,
password => $rabbit_password,
@ -141,6 +144,9 @@ node all {
# This manifest installs all of the nova
# components on one node.
class { 'mysql::server': }
if($::operatingsystem == 'Ubuntu') {
class { 'rabbitmq::repo::apt': }
}
class { 'nova::all':
db_password => 'password',
db_name => 'nova',