It needs to be parameterised for 1.1 users in particular, so I'd say it needs adding to the foreman class definition in init.pp, to foreman::install and foreman::install::repos.