Wire in HAProxy stats user and password
authorBen Nemec <bnemec@redhat.com>
Wed, 9 Mar 2016 23:29:45 +0000 (17:29 -0600)
committerBen Nemec <bnemec@redhat.com>
Wed, 9 Mar 2016 23:29:45 +0000 (17:29 -0600)
Change-Id: I26b7a1cd1b7b6520db1df49c60a86c2bb5bce1b0
Depends-On: I12e835964a0370de73e45ef0a8603656ecb02d0c
Depends-On: I8a5844e89bd81a99d5101ab6bce7a8d79e069565

puppet/controller.yaml

index 186dce6..adb5589 100644 (file)
@@ -225,6 +225,13 @@ parameters:
       Mount options for Pacemaker mount used as Glance storage.
       Effective when GlanceFilePcmkManage is true.
     type: string
+  HAProxyStatsPassword:
+    description: Password for HAProxy stats endpoint
+    type: string
+  HAProxyStatsUser:
+    description: User for HAProxy stats endpoint
+    default: admin
+    type: string
   HAProxySyslogAddress:
     default: /dev/log
     description: Syslog address where HAproxy will send its log
@@ -936,6 +943,8 @@ resources:
         neutron_enable_l2pop: {get_param: NeutronEnableL2Pop}
         neutron_enable_isolated_metadata: {get_param: NeutronEnableIsolatedMetadata}
         haproxy_log_address: {get_param: HAProxySyslogAddress}
+        haproxy_stats_password: {get_param: HAProxyStatsPassword}
+        haproxy_stats_user: {get_param: HAProxyStatsUser}
         heat.watch_server_url:
           list_join:
             - ''
@@ -1626,6 +1635,8 @@ resources:
                 tripleo::loadbalancer::public_virtual_interface: {get_input: public_virtual_interface}
                 tripleo::loadbalancer::haproxy_log_address: {get_input: haproxy_log_address}
                 tripleo::loadbalancer::service_certificate: {get_attr: [NodeTLSData, deployed_ssl_certificate_path]}
+                tripleo::loadbalancer::haproxy_stats_user: {get_input: haproxy_stats_user}
+                tripleo::loadbalancer::haproxy_stats_password: {get_input: haproxy_stats_password}
                 tripleo::packages::enable_install: {get_input: enable_package_install}
                 tripleo::packages::enable_upgrade: {get_input: enable_package_upgrade}