summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-10-02 10:28:01 +0200
committermh <mh@immerda.ch>2013-10-02 10:28:01 +0200
commit9da000c6511e85e030e431b7d951d325c2c98681 (patch)
treef1e6d4988d690b63b70f60b857ef86c64f442c28 /templates
parentf7ac3063564d4560f5a80ea45e84011b127b0b62 (diff)
Improve the overall experience of the module.
- Extending the README - Add a trocla::yaml class for a simple quickstart. - Fixes issues: #4 & #5
Diffstat (limited to 'templates')
-rw-r--r--templates/troclarc.yaml.erb8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/troclarc.yaml.erb b/templates/troclarc.yaml.erb
index 3f473fe..d574cd9 100644
--- a/templates/troclarc.yaml.erb
+++ b/templates/troclarc.yaml.erb
@@ -1,9 +1,11 @@
---
options:
- random: true
- length: <%= @keysize %>
+ random: <%= @random_passwords %>
+ length: <%= @password_length %>
adapter: :<%= @adapter %>
+<% unless @adapter_options.empty? %>
adapter_options:
<% @adapter_options.each do |key,value| -%>
- :<%= key -%>: '<%= value -%>'
+ :<%= key %>: '<%= value %>'
+<% end -%>
<% end -%>