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:
Alan Bishop 2019-09-06 10:49:55 -07:00 committed by Luca Miccini
parent 151177ef16
commit 83893075bd
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ describe 'tripleo::profile::base::monitoring::sensu' do
on_supported_os.each do |os, facts|
context "on #{os}" do
let (:facts) {
facts
facts.merge({ :ipaddress => '127.0.0.1' })
}
it_behaves_like 'tripleo::profile::base::monitoring::sensu'
end