The apache module creates the vhosts.conf file with sane defaults and then inserts the passed custom_fragment.
https://github.com/puppetlabs/puppetlabs-apache/blob/master/templates/vhost/_custom_fragment.erb