puppet-swift/templates/proxy/ceilometer.conf.erb

49 lines
1.2 KiB
Plaintext

[filter:ceilometer]
paste.filter_factory = ceilometermiddleware.swift:filter_factory
<% if @rabbit_hosts.nil? %>
url = rabbit://<%= @rabbit_user %>:<%= @rabbit_password %>@<%= @rabbit_host %>:<%= @rabbit_port %>/<%= @rabbit_virtual_host %>
<% else %>
<% hosts=Array(@rabbit_hosts_with_creds).join(",") -%>
url = rabbit://<%= hosts %>/<%= @rabbit_virtual_host %>
<% end %>
<% if @driver %>
driver = <%= @driver %>
<% end %>
<% if @topic %>
topic = <%= @topic %>
<% end %>
<% if @control_exchange %>
control_exchange = <%= @control_exchange %>
<% end %>
<% if @nonblocking_notify %>
nonblocking_notify = <%= @nonblocking_notify %>
<% end %>
<% if @ignore_projects %>
ignore_projects = <%= @ignore_projects %>
<% end %>
<% if @auth_uri %>
auth_uri = <%= @auth_uri %>
<% end %>
<% if @auth_url %>
auth_url = <%= @auth_url %>
<% end %>
<% if @auth_type %>
auth_type = <%= @auth_type %>
<% end %>
<% if @project_name %>
project_name = <%= @project_name %>
<% end %>
<% if @project_domain_name %>
project_domain_name = <%= @project_domain_name %>
<% end %>
<% if @user_domain_name %>
user_domain_name = <%= @user_domain_name %>
<% end %>
<% if @username %>
username = <%= @username %>
<% end %>
<% if @password %>
password = <%= @password %>
<% end %>