parametrize endpoints

Change-Id: I38469f497ed5ff7552a6f38d1ebefb56c1bbc9fc
diff --git a/metadata/service/agent/cluster.yml b/metadata/service/agent/cluster.yml
index d1a1444..1e56978 100644
--- a/metadata/service/agent/cluster.yml
+++ b/metadata/service/agent/cluster.yml
@@ -3,6 +3,8 @@
 classes:
 - service.ceilometer.support
 parameters:
+  _param:
+    keystone_ceilometer_endpoint_type: internalURL
   ceilometer:
     agent:
       enabled: true
@@ -17,6 +19,7 @@
         tenant: service
         user: ceilometer
         password: ${_param:keystone_ceilometer_password}
+        endpoint_type: ${_param:keystone_ceilometer_endpoint_type}
       message_queue:
         engine: rabbitmq
         host: ${_param:cluster_vip_address}