]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commitdiff
Remove duplicate instance_usage_audit
authorChris Ricker <chricker@cisco.com>
Mon, 7 Apr 2014 20:44:45 +0000 (13:44 -0700)
committerChris Ricker <chricker@cisco.com>
Mon, 7 Apr 2014 20:50:35 +0000 (13:50 -0700)
nova.conf parameters for ceilometer notifications are defined in both
puppet-ceilometer and puppet-nova due to change I9e10dfb2. Remove the
redundant definition from puppet-ceilometer.

Change-Id: I7f27a731b68359b22785e3807beaf94a39f185bf
Closes-Bug: #1304017

manifests/agent/compute.pp
spec/classes/ceilometer_agent_compute_spec.rb

index c07d717afb9c09350219cc1c426824d0440c44ac..fde3705d6add35251468ae88befbfb93d059413d 100644 (file)
@@ -45,11 +45,6 @@ class ceilometer::agent::compute (
     hasrestart => true,
   }
 
-  nova_config {
-    'DEFAULT/instance_usage_audit'        : value => 'True';
-    'DEFAULT/instance_usage_audit_period' : value => 'hour';
-  }
-
   #NOTE(dprince): This is using a custom (inline) file_line provider
   # until this lands upstream:
   # https://github.com/puppetlabs/puppetlabs-stdlib/pull/174
index 3d5ed9aab387784fee61cbe49d040041d098cd06..16f19a0482e66629719a30deeb2d121c13fff1b2 100644 (file)
@@ -48,11 +48,6 @@ describe 'ceilometer::agent::compute' do
       )
     end
 
-    it 'configures instance usage audit in nova' do
-      should contain_nova_config('DEFAULT/instance_usage_audit').with_value('True')
-      should contain_nova_config('DEFAULT/instance_usage_audit_period').with_value('hour')
-    end
-
     it 'configures nova notification driver' do
       should contain_file_line_after('nova-notification-driver-common').with(
         :line   => 'notification_driver=nova.openstack.common.notifier.rpc_notifier',