From e8f91807701260f5000d15221c7fbb4f2540ca73 Mon Sep 17 00:00:00 2001 From: Dan Bode Date: Sun, 18 Mar 2012 12:57:12 -0700 Subject: [PATCH] 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. --- examples/site.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/site.pp b/examples/site.pp index 826961b60..18a90bf55 100644 --- a/examples/site.pp +++ b/examples/site.pp @@ -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',