Giuseppe Lavagetto has submitted this change and it was merged. Change subject: monitoring::host: default to $main_ipaddress ......................................................................
monitoring::host: default to $main_ipaddress On servers where docker is installed, docker0 will be selected by the 'ipaddress' fact and this return a wrong result. Change-Id: Ib750a1366256ffdafb6e0fec553b909d234e938b --- M modules/monitoring/manifests/host.pp 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Giuseppe Lavagetto: Verified; Looks good to me, approved diff --git a/modules/monitoring/manifests/host.pp b/modules/monitoring/manifests/host.pp index 7764c9a..d1c7071 100644 --- a/modules/monitoring/manifests/host.pp +++ b/modules/monitoring/manifests/host.pp @@ -2,7 +2,7 @@ # Exports the resource that monitors hosts in icinga/shinken # define monitoring::host ( - $ip_address = $::ipaddress, + $ip_address = $::main_ipaddress, $host_fqdn = undef, $group = undef, $ensure = present, -- To view, visit https://gerrit.wikimedia.org/r/317480 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ib750a1366256ffdafb6e0fec553b909d234e938b Gerrit-PatchSet: 2 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Giuseppe Lavagetto <glavage...@wikimedia.org> Gerrit-Reviewer: Giuseppe Lavagetto <glavage...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits