lets debug
I have a template broken, check : https://gist.github.com/stephdl/49a9646d6ac8f333ec913a3aa00b6f9c
You should state to install the module to enable the extra repository, else the first rpm installation will disable it, so either yum install nethserver-lemonldap-ng --enablerepo=lemonldap-ng,lemonldap-ng-extras or create the code to permanently enable them
lets go to fix