oscar-cluster / oscar

OSCAR main source repository.
GNU General Public License v2.0
13 stars 2 forks source link

Update the management of module files #607

Open dikim33 opened 7 years ago

dikim33 commented 7 years ago

Reported by valleegr on 9 Mar 2011 17:31 UTC RHEL distros now include a environment-modules package. We should rely on it to avoid conflicts.

It seems that we could remove modules-oscar and replace it by environment-modules. For that, we could update the pre/post install scripts of OSCAR packages so they will add the module paths in '''/usr/share/Modules/init/.modulespath''' (if the path does not exists, just add a dependency to environement-modules as dependency, just ensure that the file '''/usr/share/Modules/init/.modulespath''' is marked as %config in the spec file so it is not overwritten when updating packages).