In the case of puppetmaster.o.o, we are actually returning 3 results,
because of the following:
# php -q /usr/share/cacti/cli/add_graphs.php --list-hosts | grep "puppetmaster"
5 ci-puppetmaster.openstack.org 9 ci-puppetmaster.openstack.org
85 old-puppetmaster.openstack.org 9 old-puppetmaster.openstack.org
86 puppetmaster.openstack.org 9 puppetmaster.openstack.org
this is ofcource wrong and breaking cacti. Now match with leading
tab, so we only return a single host.
Change-Id: Ie4a692f4afbc31f82844a326d38e69d2e1aea549
Signed-off-by: Paul Belanger <pabelanger@redhat.com>