Use notification_driver parameter in sahara::notify
Upstream will remove enable_notifications parameter [1], we need to use notification_driver parameter now. [1] https://review.openstack.org/#/c/444051/ Change-Id: I95fbb5f104b3d550a87aaaad51418c918fe70c79
This commit is contained in:
parent
798ee3a000
commit
ab8a6958f9
|
@ -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'],
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue