summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-01-14 22:08:41 +0100
committermh <mh@immerda.ch>2013-01-14 22:08:41 +0100
commit23858158e0385553af29b485831713fa579e4771 (patch)
tree9c3522dfe3ae463c84cbc0a65f55441f109f8762
parenta7d70747b8c17969a18c94939e03df4aabfee6b7 (diff)
add note about migrating yaml backend
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 339153d..a0c2343 100644
--- a/README.md
+++ b/README.md
@@ -131,7 +131,8 @@ Simply build and install the gem.
1. be sure to update as well the moneta gem, trocla now uses the official moneta releases and supports current avaiable versions.
1. Options for moneta's backends have changed. For example, if you are using the yaml-backend you will likely need to change the adapter option `:path:` to `:file:` to match moneta's new API.
-1. SECURITY: Previous versions of trocla used quite a simple random generator. Especially in combination with the puppet `fqdn_rand` function, you likely have very predictable random passwords and I recommend you to regenerate all randomly generated passwords! Now!
+1. *IMPORTANT:* If you are using the yaml backend you need to migrate the current data *before* using the new datastore! Use the following two sed commands `sed -i 's/^ / /' /PATH/TO/trocla_data.yaml` && `sed -i '/^ value\:/d' /PATH/TO/trocla_data.yaml`.
+1. *SECURITY:* Previous versions of trocla used quite a simple random generator. Especially in combination with the puppet `fqdn_rand` function, you likely have very predictable random passwords and I recommend you to regenerate all randomly generated passwords! Now!
1. We now support reading passwords from files, which means that you can now also easily add multi-line passwords. Have a look at the documentation above.
## Contributing to trocla