workaround for rabbitmq-server hostname bug (LP #653405)
This commit is contained in:
parent
1589f32680
commit
941f1bf946
|
@ -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,
|
||||
|
|
|
@ -5,5 +5,7 @@ class nova::rabbitmq {
|
|||
service { 'rabbitmq-server':
|
||||
ensure => running,
|
||||
enable => true,
|
||||
hasstatus => true,
|
||||
require => Package["rabbitmq-server"],
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue