If the yum repo has already been added, the template resource will not be created.  I can't find a better way to conditionally run it if it exists that doesn't throw an exception.