summaryrefslogtreecommitdiff
path: root/puppet/modules/tapicero/templates
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2013-11-20 13:13:36 -0500
committerMicah Anderson <micah@leap.se>2013-11-27 14:48:00 -0500
commit69e626d819317ce977007571714dd7a2f1235492 (patch)
treede0bd001ad5e07572f8ce8154940eaf988b46401 /puppet/modules/tapicero/templates
parent92d68c912d0de44ec9e88f7327303cc0fce7114b (diff)
initial tapicero configuration
Change-Id: Ie53b09df0758ba01b30ed658bee04682bc180b01
Diffstat (limited to 'puppet/modules/tapicero/templates')
-rw-r--r--puppet/modules/tapicero/templates/tapicero.yaml.erb36
1 files changed, 36 insertions, 0 deletions
diff --git a/puppet/modules/tapicero/templates/tapicero.yaml.erb b/puppet/modules/tapicero/templates/tapicero.yaml.erb
new file mode 100644
index 00000000..75b8d5f6
--- /dev/null
+++ b/puppet/modules/tapicero/templates/tapicero.yaml.erb
@@ -0,0 +1,36 @@
+#
+# Default configuration options for Tapicero
+#
+
+# database to observe for changes:
+users_db_name: "users"
+
+# prefix for per user databases:
+db_prefix: "user-"
+
+# couch connection configuration
+couch_connection:
+ protocol: "http"
+ host: "localhost"
+ port: <%= @couchdb_port %>
+ username: <%= @couchdb_admin_user %>
+ password: <%= @couchdb_admin_password %>
+
+# security settings to be used for the per user databases
+security:
+ admins:
+ names: []
+ roles: []
+ readers:
+ names:
+ - <%= @couchdb_soledad_user %>
+ - <%= @couchdb_leap_mx_user %>
+ roles: []
+
+# file to store the last processed user record in so we can resume after
+# a restart:
+seq_file: "/var/lib/leap/tapicero/tapicero.seq"
+
+# Configure log_file like this if you want to log to a file instead of syslog:
+# log_file: "/var/leap/log/tapicero.log"
+log_level: info