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:
parent
b812305416
commit
e8f9180770
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user