workaround for rabbitmq-server hostname bug (LP #653405)

This commit is contained in:
Adam Gandelman 2011-06-03 09:37:51 -07:00
parent 1589f32680
commit 941f1bf946
2 changed files with 11 additions and 1 deletions

View File

@ -27,7 +27,15 @@ class nova::canonical::all(
# they are only supporting libvirt for now
) {
class { 'nova::rabbitmq': }
# work around hostname bug, LP #653405
host { $hostname:
ip => $ipaddress,
host_aliases => $fqdn,
}
class { 'nova::rabbitmq':
require => Host[$hostname],
}
class { "nova":
logdir => $logdir,

View File

@ -5,5 +5,7 @@ class nova::rabbitmq {
service { 'rabbitmq-server':
ensure => running,
enable => true,
hasstatus => true,
require => Package["rabbitmq-server"],
}
}