summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/ceilometer_compute/templates
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/ceilometer_compute/templates')
-rw-r--r--deploy/adapters/ansible/roles/ceilometer_compute/templates/ceilometer.j217
-rw-r--r--deploy/adapters/ansible/roles/ceilometer_compute/templates/nova.j25
2 files changed, 22 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/ceilometer_compute/templates/ceilometer.j2 b/deploy/adapters/ansible/roles/ceilometer_compute/templates/ceilometer.j2
new file mode 100644
index 00000000..d3ee52ab
--- /dev/null
+++ b/deploy/adapters/ansible/roles/ceilometer_compute/templates/ceilometer.j2
@@ -0,0 +1,17 @@
+[DEFAULT]
+verbose = True
+rpc_backend = rabbit
+rabbit_host = {{ internal_vip.ip }}
+rabbit_password = {{ RABBIT_PASS }}
+
+[publisher]
+metering_secret = {{ metering_secret }}
+
+[service_credentials]
+os_auth_url = http://{{ internal_vip.ip }}:5000/v2.0
+os_username = ceilometer
+os_tenant_name = service
+os_password = {{ CEILOMETER_PASS }}
+os_endpoint_type = internalURL
+os_region_name = regionOne
+
diff --git a/deploy/adapters/ansible/roles/ceilometer_compute/templates/nova.j2 b/deploy/adapters/ansible/roles/ceilometer_compute/templates/nova.j2
new file mode 100644
index 00000000..e7532c85
--- /dev/null
+++ b/deploy/adapters/ansible/roles/ceilometer_compute/templates/nova.j2
@@ -0,0 +1,5 @@
+[DEFAULT]
+instance_usage_audit = True
+instance_usage_audit_period = hour
+notify_on_state_change = vm_and_task_state
+notification_driver = messagingv2