uboslinux / ubos-admin

UBOS administration tools
Other
15 stars 3 forks source link

Allow to-be-backed-up files in the manifest that may not exist #730

Open jernst opened 4 years ago

jernst commented 4 years ago

When starting elasticsearch, the keystore file is automatically generated. This file should be backed up (if the elasticsearch data is backed up, too). However, the file is not being generated if it exists already, even if it is empty.

So: we need to be able to say, in the manifest, that if the file exists we want it to be backed up, but if not, that's fine, too. Currently either source or template are required, and that seems overconstrained.