hiera-eyaml
hiera-eyaml copied to clipboard
critical error in hiera-eyaml edit
Under mysterious conditions, hiera-eyaml replaces the .eyaml editing file with nothing (0 bytes).
It may be related to a :wq on EDITOR=vi, needs to be investigated, its kind of unacceptable for an edit to obliterate the underlying file.
my commandlines were:
$ eyaml edit --pkcs7-private-key ../../../../vagrant/vagrantmulti-private_key.pkcs7.pem --pkcs7-public-key ../../../../vagrant/vagrantmulti-public_key.pkcs7.pem ./common.eyaml
$ eyaml edit --pkcs7-private-key ../../../../vagrant/vagrantmulti-private_key.pkcs7.pem --pkcs7-public-key ../../../../vagrant/vagrantmulti-public_key.pkcs7.pem ./common.eyaml
[hiera-eyaml-core] No changes detected, exiting
$ ls -l common.eyaml
-rw-r--r-- 1 ...... ..... 1 7 Oct 16:57 common.eyaml
(formerly common.eyaml was several K big)
So far can't reproduce this..