I have an app with several presets customised via the local/ directory
I still want to show the uncustomised / unpreset version from form.yml.erb
However, OOD only seems to show the presets and does not show form.yml.erb
even in interactive apps listing.
Am I doing something wrong?
Hi, sorry for the confusion. You are not doing anything wrong here actually, this is the expected behavior for OOD sub-apps. When you created /local
OOD assumes you want to override that app’s form.yml.erb
so it is expected for that to not show up, but the local
variants to be displayed instead. I’m sure you’ve seen it, but below is the docs link for completeness: Sub-Apps and Re-configuring existing apps — Open OnDemand 4.0.0 documentation
There’s a differing ways around this I think, but maybe the most straightforward would be to create a default.yml.erb
subapp in that local
directory. This will then show in the menu as you desire, but does have semantic overhead.
The other option would be using a symlink from that base app’s form.yml.erb
to a local
directory again using a similar naming scheme above even of ln -s /base/app/form.yml.erb /path/to/local/default.yml
, and now the app should show up and is still technically in the base app.
Please let me know if you run into any other issues or if you need further help!