update foreman template to do what base does