(maint) Fix Puppet 3.2.x deprecation warnings

Also fixes for me a bug in vhost_ssl_header.erb where `if defined? ipaddress6` never seems to evaluate to true.