This should be a boolean really, then translate it with [a selector](http://docs.puppetlabs.com/puppet/3/reference/lang_conditional.html#selectors) in the yumrepo resource.