Fix tripleo::profile::base::monitoring::sensu rspec test
Add ipaddress fact when testing tripleo::profile::base::monitoring::sensu.
The latest facterdb no longer defines ::ipaddress, which is the default
value for ::sensu module's client_address.
Change-Id: I714b8bf69ef26ee7bb5195a3001f86d45e6e1fb6
(cherry picked from commit 04b14abc04
)
This commit is contained in:
parent
151177ef16
commit
83893075bd
|
@ -29,7 +29,7 @@ describe 'tripleo::profile::base::monitoring::sensu' do
|
||||||
on_supported_os.each do |os, facts|
|
on_supported_os.each do |os, facts|
|
||||||
context "on #{os}" do
|
context "on #{os}" do
|
||||||
let (:facts) {
|
let (:facts) {
|
||||||
facts
|
facts.merge({ :ipaddress => '127.0.0.1' })
|
||||||
}
|
}
|
||||||
it_behaves_like 'tripleo::profile::base::monitoring::sensu'
|
it_behaves_like 'tripleo::profile::base::monitoring::sensu'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue