Merge "Use transient hostname for deployed servers"
[apex-tripleo-heat-templates.git] / puppet / services / pacemaker / horizon.yaml
index f8b5ad0..18de23a 100644 (file)
@@ -4,6 +4,15 @@ description: >
   Horizon service with Pacemaker configured with Puppet.
 
 parameters:
+  ServiceNetMap:
+    default: {}
+    description: Mapping of service_name -> network name. Typically set
+                 via parameter_defaults in the resource registry.  This
+                 mapping overrides those in ServiceNetMapDefaults.
+    type: json
+  DefaultPasswords:
+    default: {}
+    type: json
   EndpointMap:
     default: {}
     description: Mapping of service endpoint -> protocol. Typically set
@@ -15,6 +24,8 @@ resources:
   HorizonBase:
     type: ../horizon.yaml
     properties:
+      ServiceNetMap: {get_param: ServiceNetMap}
+      DefaultPasswords: {get_param: DefaultPasswords}
       EndpointMap: {get_param: EndpointMap}
 
 outputs:
@@ -22,6 +33,7 @@ outputs:
     description: Role data for the Horizon role.
     value:
       service_name: horizon
+      monitoring_subscription: {get_attr: [HorizonBase, role_data, monitoring_subscription]}
       config_settings:
         get_attr: [HorizonBase, role_data, config_settings]
       step_config: |