I’m trying to launch a command line tool from within my form.yml.erb. It relies on being on certain modules being loaded/loadable and specific environment variables such as PATH. When I build it in my shell using “erb -T - form.yml.erb” it produces the correct output. When I use it within the OOD sandbox, PATH has been changed and MODULEPATH is no longer defined.
The PATH got changed to this: “/opt/ood/ondemand/root/usr/share/gems/2.5/bin:/opt/rh/rh-nodejs10/root/usr/bin:/opt/rh/rh-ruby25/root/usr/local/bin:/opt/rh/rh-ruby25/root/usr/bin:/opt/rh/httpd24/root/usr/bin:/opt/rh/httpd24/root/usr/sbin:/opt/ood/ondemand/root/usr/bin:/opt/ood/ondemand/root/usr/sbin:/sbin:/bin:/usr/sbin:/usr/bin”
What do you recommend as the correct way to set up my cluster to enable these values to be preserved or to work around this?
If you need any snippets of my files, I’m more than happy to provide them.
Thank you for you help!
Seattle Children’s Hospital