add a parameter to specify the IP which is exported to postgresql server...

Allow to specify the IP which will be exported to remote postgresql servers.
Default it to $::ipaddress rather than ipaddress_eth1 because on servers without eth1 this breaks remote postgresql servers collecting this resource