Merge "Use notification_driver parameter in sahara::notify"

This commit is contained in:
Jenkins 2017-03-15 12:15:17 +00:00 committed by Gerrit Code Review
commit ae83b6d76d
2 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@ class openstack_tasks::sahara::sahara {
if $ceilometer_hash['enabled'] {
class { '::sahara::notify':
enable_notifications => true,
notification_driver => $ceilometer_hash['notification_driver'],
}
}

View File

@ -190,7 +190,7 @@ describe manifest do
context 'with ceilometer', :if => enable do
it 'should declare sahara::notify class correctly' do
should contain_class('sahara::notify').with(
'enable_notifications' => true
'notification_driver' => Noop.hiera_structure('ceilometer/notification_driver')
)
end
end