This template is used by the apache::virtualhost define (which is almost the same of apache::vhost and is deprecated), so either you also change the define or this change is useless.