Skip to content

Commit

Permalink
Merge pull request #46 from cloudnull/issue799-again
Browse files Browse the repository at this point in the history
Merged automatically by jenkins after successful build test
  • Loading branch information
rcbjenkins committed Mar 27, 2014
2 parents 2629d0f + 95dee57 commit 595c67b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions files/default/ceilometer-dist.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Your doing it wrong REDHAT!
11 changes: 11 additions & 0 deletions recipes/ceilometer-common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,17 @@
not_if {File.exists?("/etc/ceilometer/policy.json")}
end

case node['platform']
when 'redhat', 'centos'
# RHEL YOUR DOING IT WRONG!
cookbook_file "/usr/share/ceilometer/ceilometer-dist.conf" do
source "ceilometer-dist.conf"
mode 0644
owner "ceilometer"
group "ceilometer"
end
end

notification_provider = node["ceilometer"]["notification"]["driver"]
case notification_provider
when "no_op"
Expand Down
3 changes: 3 additions & 0 deletions templates/default/ceilometer.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ os_auth_url=<%= @keystone_auth_url %>


##### RABBITMQ #####
rpc_backend=ceilometer.openstack.common.rpc.impl_kombu
control_exchange=ceilometer

rabbit_password=guest
rabbit_hosts=<%= @rabbit_host %>:<%= @rabbit_port %>
rabbit_ha_queues=<%= @rabbit_ha_queues %>
Expand Down

0 comments on commit 595c67b

Please sign in to comment.