Change rescue to allow non IPv4 string.
Change rescue to allow non IPv4 string.

This solves the following error;
   Error: /Stage[main]/Mongodb::Server::Service/Mongodb_conn_validator[mongodb]: Could not evaluate: invalid address

When using the following puppet configuration;
   class { 'mongodb::server':
     bind_ip          => ["$::fqdn"]
   }

discovery-digital/puppetlabs-mongodb,noris-network/puppetlabs-mongodb,discovery-digital/puppetlabs-mongodb,noris-network/puppetlabs-mongodb,discovery-digital/puppetlabs-mongodb,discovery-digital/puppetlabs-mongodb,noris-network/puppetlabs-mongodb