Add vcsrepo dependency to the modulefile
Use epel to install ejabberd on RedHat