I've set my brooklyn.datadir in my brooklyn.properties file in order to persist state to my home directory rather than /tmp/brooklyn-${user}.
I was expecting this to change the data directory for persisted state, but it has changed the data directory for new instance creation on, say, EC2. I then get an error that it can not create my home directory on the new node. Which, of course, is correct.
So, how do I persist state from my brooklyn server to a stable directory, but not effect all VMs that I create?
It seems like there should be a 'brooklyn.datadir.server=<some dir>' and let the 'brooklyn.datadir=<some dir>' be directed at the remote instances that get created.