add a repo_install function to centos/install

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>