]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commit
Only add ceilometer user to nova group if using compute agent
authorDavid Moreau Simard <dmsimard@iweb.com>
Tue, 7 Jan 2014 21:41:14 +0000 (16:41 -0500)
committerDavid Moreau Simard <dmsimard@iweb.com>
Wed, 15 Jan 2014 19:57:43 +0000 (14:57 -0500)
commit9740dcecbe3092afc933e438bb1ba52a79dce060
treeb11d2e7373f598391a1f44cebe797500e4abbed6
parent78f0f3738c007238e4f246e456c4b24f8a9e3782
Only add ceilometer user to nova group if using compute agent

When using ceilometer outside of the compute context (ex: with the
swift middleware), puppet-ceilometer attempts to add the user to
the nova group which does not (and probably should not) exist on
the swift nodes.

Change-Id: I6cc68152325a967c024ce611f92a90ce0afba8cc
(cherry picked from commit d064997cd4c50d9b5365fe2ffca60e14a86b08e1)
manifests/agent/compute.pp
manifests/init.pp
spec/classes/ceilometer_agent_compute_spec.rb
spec/classes/ceilometer_init_spec.rb