Move yumrepo definition to profile::base. Create dependency in profile::mediawiki between the defined Yumrepo and the package.