Alexandros Kosiaris has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/364411 )

Change subject: Fix monitoring::host RSpec suite tests
......................................................................

Fix monitoring::host RSpec suite tests

After the change of title for $mgmt_host we also have to fix the RSpec
suite's tests

Change-Id: Iaaf13a29415595a87d4dfdfe63d4339613310233
---
M modules/monitoring/spec/defines/monitoring_host_spec.rb
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/11/364411/1

diff --git a/modules/monitoring/spec/defines/monitoring_host_spec.rb 
b/modules/monitoring/spec/defines/monitoring_host_spec.rb
index ee43496..0d0f3c4 100644
--- a/modules/monitoring/spec/defines/monitoring_host_spec.rb
+++ b/modules/monitoring/spec/defines/monitoring_host_spec.rb
@@ -33,7 +33,7 @@
           'icon_image' => 'vendors/debian.png',
           'address'    => '1.2.3.4'
         )
-        should contain_nagios_host('ahost_mgmt').with(
+        should contain_nagios_host('ahost.mgmt.blabla.wmnet').with(
           'host_name'  => 'ahost.mgmt.blabla.wmnet',
           'address'    => '2.2.2.2'
         )
@@ -55,7 +55,7 @@
           'icon_image' => 'vendors/debian.png',
           'address'    => '1.2.3.4'
         )
-        should contain_nagios_host('ahost_mgmt').with(
+        should contain_nagios_host('ahost.mgmt.blabla.wmnet').with(
           'host_name'  => 'ahost.mgmt.blabla.wmnet',
           'address'    => '2.2.2.2'
         )
@@ -137,7 +137,7 @@
           'icon_image' => 'vendors/debian.png',
           'address'    => '1.2.3.4'
         )
-        should contain_nagios_host('icingahost_mgmt').with(
+        should contain_nagios_host('icingahost.mgmt.blabla.wmnet').with(
           'host_name'  => 'icingahost.mgmt.blabla.wmnet',
           'address'    => '2.2.2.2'
         )

-- 
To view, visit https://gerrit.wikimedia.org/r/364411
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaaf13a29415595a87d4dfdfe63d4339613310233
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to