Jeremy,
This is indeed not really supported, though you might be able to get it to work using the following workaround:
- Install the package
- Symlink /opt/scalr-server/* into /mnt/scalr-server/. Make sure you symlink only the dirs that came with the package (not the ones created by reconfigure) and that you symlink the immediate children dirs, not /opt/scalr-server itself.
- Edit /opt/scalr-server/embedded/cookbooks/scalr-server/attributes/default.rb and change default[:scalr_server][:install_root] to "/mnt/scalr-server".
- Run scalr-server-ctl reconfigure
Now, this will break next time you upgrade the package since default.rb will be reverted, but assuming it does work, I could expose this attribute in scalr-server.rb.
However, I'd like to first understand what you're trying to do here: are you just trying to ensure your data is persisted? If so, would it be possible for you to mount at /opt/scalr-server/var/lib instead?
Cheers,