Open
Description
- 6.3.3:
- 4.10 and 5.5:
- RedHat 7.5 and CentOS 7.3:
Bug description
I'm using the secrets parameter to manage the file elasticsearch.keystore. Every time Puppet runs the file is recreated, even when the parameter purge_secrets is set to true. In particular, Puppet wants to remove keystore.seed. I suppose a new keystore is created each time, which implies the presence of keystore.seed, the entries in the config file are added and the temporary file is compared with the current one.
Besides that, would it be possible to 'unmanage' elasticsearch.keystore? Even if secrets is left to undefined and elasticsearch.keystore, Puppet replaces it with an "empty" one (except for the keystore.seed value). I'd prefer generate the file locally and the distribute it, rather than having passwords in the manifest.