Pass enabled flag to nova::vncproxy

This commit passes the openstack::nova::controller
parameter enabled to nova::vncproxy to allow
nova controller to be built where this service is
installed but not currently enabled.

This is intended to support active-passive HA.
This commit is contained in:
Dan Bode
2012-08-19 00:38:50 -07:00
parent 7f16726e57
commit 4e2684090f

View File

@@ -160,11 +160,10 @@ class openstack::nova::controller (
enabled => $enabled, enabled => $enabled,
} }
# NOTE should this just be enabled => $vnc_enabled? -jtopjian
if $vnc_enabled { if $vnc_enabled {
class { 'nova::vncproxy': class { 'nova::vncproxy':
enabled => true,
host => $public_address, host => $public_address,
enabled => $enabled,
} }
} }