This patch actually run rpsec test for ::ceilometer::agent::auth
class, and also drop an invalid parameter to make test working.
The class was introduced by [1] but test never ran before.
[1] I167c6c570bdebb4be2ef99cd0b9cf81f37856d9f
Change-Id: Ifcdd2d149e8b15446087ddc258d54d87dea1e8c0
:auth_user => 'ceilometer',
:auth_password => 'password',
:auth_tenant_name => 'services',
- :enabled => true,
}
end
end
+ context 'on Debian platforms' do
+ let :facts do
+ { :osfamily => 'Debian' }
+ end
+
+ it_configures 'ceilometer-agent-auth'
+ end
+
+ context 'on RedHat platforms' do
+ let :facts do
+ { :osfamily => 'RedHat' }
+ end
+
+ it_configures 'ceilometer-agent-auth'
+ end
+
end